From 5fc6d449fdf3f23cc7e0df72c2ef05a4f373bb7b Mon Sep 17 00:00:00 2001 From: Victor Date: Sun, 25 Aug 2024 16:57:51 +0200 Subject: [PATCH] Implement Nilable values (#31) --- README.md | 8 +- examples/animation/animation.go | 10 +- examples/bar_custom/main.go | 12 +- examples/colorscale/main.go | 14 +- examples/range_slider/main.go | 18 +- examples/responsive/main.go | 2 +- examples/shapes/main.go | 13 +- examples/stargazers/main.go | 8 +- examples/static_image/main.go | 2 +- examples/subplots_share_axes/main.go | 16 +- examples/transforms/main.go | 2 +- examples/waterfall_bar_chart/main.go | 18 +- .../v2.19.0/graph_objects/animation_gen.go | 8 +- generated/v2.19.0/graph_objects/bar_gen.go | 298 +-- .../v2.19.0/graph_objects/barpolar_gen.go | 206 +- generated/v2.19.0/graph_objects/box_gen.go | 132 +- .../v2.19.0/graph_objects/candlestick_gen.go | 88 +- generated/v2.19.0/graph_objects/carpet_gen.go | 218 +-- .../v2.19.0/graph_objects/choropleth_gen.go | 160 +- .../graph_objects/choroplethmapbox_gen.go | 162 +- generated/v2.19.0/graph_objects/cone_gen.go | 188 +- generated/v2.19.0/graph_objects/config_gen.go | 74 +- .../v2.19.0/graph_objects/contour_gen.go | 194 +- .../graph_objects/contourcarpet_gen.go | 154 +- .../graph_objects/densitymapbox_gen.go | 154 +- generated/v2.19.0/graph_objects/frames_gen.go | 8 +- generated/v2.19.0/graph_objects/funnel_gen.go | 236 +-- .../v2.19.0/graph_objects/funnelarea_gen.go | 126 +- .../v2.19.0/graph_objects/heatmap_gen.go | 172 +- .../v2.19.0/graph_objects/heatmapgl_gen.go | 142 +- .../v2.19.0/graph_objects/histogram2d_gen.go | 174 +- .../graph_objects/histogram2dcontour_gen.go | 196 +- .../v2.19.0/graph_objects/histogram_gen.go | 274 +-- generated/v2.19.0/graph_objects/icicle_gen.go | 208 +- generated/v2.19.0/graph_objects/image_gen.go | 68 +- .../v2.19.0/graph_objects/indicator_gen.go | 124 +- .../v2.19.0/graph_objects/isosurface_gen.go | 228 +-- generated/v2.19.0/graph_objects/layout_gen.go | 1476 +++++++------- generated/v2.19.0/graph_objects/mesh3d_gen.go | 194 +- generated/v2.19.0/graph_objects/ohlc_gen.go | 94 +- .../v2.19.0/graph_objects/parcats_gen.go | 130 +- .../v2.19.0/graph_objects/parcoords_gen.go | 140 +- generated/v2.19.0/graph_objects/pie_gen.go | 144 +- .../v2.19.0/graph_objects/pointcloud_gen.go | 82 +- generated/v2.19.0/graph_objects/sankey_gen.go | 154 +- .../v2.19.0/graph_objects/scatter3d_gen.go | 364 ++-- .../v2.19.0/graph_objects/scatter_gen.go | 310 +-- .../graph_objects/scattercarpet_gen.go | 236 +-- .../v2.19.0/graph_objects/scattergeo_gen.go | 228 +-- .../v2.19.0/graph_objects/scattergl_gen.go | 266 +-- .../graph_objects/scattermapbox_gen.go | 210 +- .../v2.19.0/graph_objects/scatterpolar_gen.go | 238 +-- .../graph_objects/scatterpolargl_gen.go | 218 +-- .../v2.19.0/graph_objects/scattersmith_gen.go | 234 +-- .../graph_objects/scatterternary_gen.go | 238 +-- generated/v2.19.0/graph_objects/splom_gen.go | 210 +- .../v2.19.0/graph_objects/streamtube_gen.go | 192 +- .../v2.19.0/graph_objects/sunburst_gen.go | 194 +- .../v2.19.0/graph_objects/surface_gen.go | 242 +-- generated/v2.19.0/graph_objects/table_gen.go | 124 +- .../v2.19.0/graph_objects/treemap_gen.go | 218 +-- generated/v2.19.0/graph_objects/violin_gen.go | 120 +- generated/v2.19.0/graph_objects/volume_gen.go | 228 +-- .../v2.19.0/graph_objects/waterfall_gen.go | 148 +- .../v2.29.1/graph_objects/animation_gen.go | 8 +- generated/v2.29.1/graph_objects/bar_gen.go | 300 +-- .../v2.29.1/graph_objects/barpolar_gen.go | 208 +- generated/v2.29.1/graph_objects/box_gen.go | 138 +- .../v2.29.1/graph_objects/candlestick_gen.go | 90 +- generated/v2.29.1/graph_objects/carpet_gen.go | 220 +-- .../v2.29.1/graph_objects/choropleth_gen.go | 162 +- .../graph_objects/choroplethmapbox_gen.go | 164 +- generated/v2.29.1/graph_objects/cone_gen.go | 190 +- generated/v2.29.1/graph_objects/config_gen.go | 74 +- .../v2.29.1/graph_objects/contour_gen.go | 196 +- .../graph_objects/contourcarpet_gen.go | 156 +- .../graph_objects/densitymapbox_gen.go | 156 +- generated/v2.29.1/graph_objects/frames_gen.go | 8 +- generated/v2.29.1/graph_objects/funnel_gen.go | 238 +-- .../v2.29.1/graph_objects/funnelarea_gen.go | 144 +- .../v2.29.1/graph_objects/heatmap_gen.go | 174 +- .../v2.29.1/graph_objects/heatmapgl_gen.go | 144 +- .../v2.29.1/graph_objects/histogram2d_gen.go | 176 +- .../graph_objects/histogram2dcontour_gen.go | 198 +- .../v2.29.1/graph_objects/histogram_gen.go | 276 +-- generated/v2.29.1/graph_objects/icicle_gen.go | 226 +-- generated/v2.29.1/graph_objects/image_gen.go | 70 +- .../v2.29.1/graph_objects/indicator_gen.go | 126 +- .../v2.29.1/graph_objects/isosurface_gen.go | 230 +-- generated/v2.29.1/graph_objects/layout_gen.go | 1528 +++++++-------- generated/v2.29.1/graph_objects/mesh3d_gen.go | 196 +- generated/v2.29.1/graph_objects/ohlc_gen.go | 96 +- .../v2.29.1/graph_objects/parcats_gen.go | 130 +- .../v2.29.1/graph_objects/parcoords_gen.go | 142 +- generated/v2.29.1/graph_objects/pie_gen.go | 162 +- .../v2.29.1/graph_objects/pointcloud_gen.go | 84 +- generated/v2.29.1/graph_objects/sankey_gen.go | 158 +- .../v2.29.1/graph_objects/scatter3d_gen.go | 366 ++-- .../v2.29.1/graph_objects/scatter_gen.go | 312 +-- .../graph_objects/scattercarpet_gen.go | 238 +-- .../v2.29.1/graph_objects/scattergeo_gen.go | 230 +-- .../v2.29.1/graph_objects/scattergl_gen.go | 268 +-- .../graph_objects/scattermapbox_gen.go | 212 +- .../v2.29.1/graph_objects/scatterpolar_gen.go | 240 +-- .../graph_objects/scatterpolargl_gen.go | 220 +-- .../v2.29.1/graph_objects/scattersmith_gen.go | 236 +-- .../graph_objects/scatterternary_gen.go | 240 +-- generated/v2.29.1/graph_objects/splom_gen.go | 212 +- .../v2.29.1/graph_objects/streamtube_gen.go | 194 +- .../v2.29.1/graph_objects/sunburst_gen.go | 212 +- .../v2.29.1/graph_objects/surface_gen.go | 244 +-- generated/v2.29.1/graph_objects/table_gen.go | 126 +- .../v2.29.1/graph_objects/treemap_gen.go | 236 +-- generated/v2.29.1/graph_objects/violin_gen.go | 122 +- generated/v2.29.1/graph_objects/volume_gen.go | 230 +-- .../v2.29.1/graph_objects/waterfall_gen.go | 150 +- .../v2.31.1/graph_objects/animation_gen.go | 8 +- generated/v2.31.1/graph_objects/bar_gen.go | 302 +-- .../v2.31.1/graph_objects/barpolar_gen.go | 208 +- generated/v2.31.1/graph_objects/box_gen.go | 140 +- .../v2.31.1/graph_objects/candlestick_gen.go | 92 +- generated/v2.31.1/graph_objects/carpet_gen.go | 222 +-- .../v2.31.1/graph_objects/choropleth_gen.go | 162 +- .../graph_objects/choroplethmapbox_gen.go | 164 +- generated/v2.31.1/graph_objects/cone_gen.go | 190 +- generated/v2.31.1/graph_objects/config_gen.go | 74 +- .../v2.31.1/graph_objects/contour_gen.go | 198 +- .../graph_objects/contourcarpet_gen.go | 158 +- .../graph_objects/densitymapbox_gen.go | 156 +- generated/v2.31.1/graph_objects/frames_gen.go | 8 +- generated/v2.31.1/graph_objects/funnel_gen.go | 240 +-- .../v2.31.1/graph_objects/funnelarea_gen.go | 144 +- .../v2.31.1/graph_objects/heatmap_gen.go | 176 +- .../v2.31.1/graph_objects/heatmapgl_gen.go | 144 +- .../v2.31.1/graph_objects/histogram2d_gen.go | 176 +- .../graph_objects/histogram2dcontour_gen.go | 198 +- .../v2.31.1/graph_objects/histogram_gen.go | 278 +-- generated/v2.31.1/graph_objects/icicle_gen.go | 226 +-- generated/v2.31.1/graph_objects/image_gen.go | 72 +- .../v2.31.1/graph_objects/indicator_gen.go | 126 +- .../v2.31.1/graph_objects/isosurface_gen.go | 230 +-- generated/v2.31.1/graph_objects/layout_gen.go | 1530 +++++++-------- generated/v2.31.1/graph_objects/mesh3d_gen.go | 196 +- generated/v2.31.1/graph_objects/ohlc_gen.go | 98 +- .../v2.31.1/graph_objects/parcats_gen.go | 130 +- .../v2.31.1/graph_objects/parcoords_gen.go | 142 +- generated/v2.31.1/graph_objects/pie_gen.go | 162 +- .../v2.31.1/graph_objects/pointcloud_gen.go | 84 +- generated/v2.31.1/graph_objects/sankey_gen.go | 158 +- .../v2.31.1/graph_objects/scatter3d_gen.go | 366 ++-- .../v2.31.1/graph_objects/scatter_gen.go | 318 +-- .../graph_objects/scattercarpet_gen.go | 240 +-- .../v2.31.1/graph_objects/scattergeo_gen.go | 230 +-- .../v2.31.1/graph_objects/scattergl_gen.go | 268 +-- .../graph_objects/scattermapbox_gen.go | 212 +- .../v2.31.1/graph_objects/scatterpolar_gen.go | 240 +-- .../graph_objects/scatterpolargl_gen.go | 220 +-- .../v2.31.1/graph_objects/scattersmith_gen.go | 236 +-- .../graph_objects/scatterternary_gen.go | 240 +-- generated/v2.31.1/graph_objects/splom_gen.go | 212 +- .../v2.31.1/graph_objects/streamtube_gen.go | 194 +- .../v2.31.1/graph_objects/sunburst_gen.go | 212 +- .../v2.31.1/graph_objects/surface_gen.go | 244 +-- generated/v2.31.1/graph_objects/table_gen.go | 126 +- .../v2.31.1/graph_objects/treemap_gen.go | 236 +-- generated/v2.31.1/graph_objects/violin_gen.go | 124 +- generated/v2.31.1/graph_objects/volume_gen.go | 230 +-- .../v2.31.1/graph_objects/waterfall_gen.go | 152 +- .../v2.34.0/graph_objects/animation_gen.go | 8 +- generated/v2.34.0/graph_objects/bar_gen.go | 378 ++-- .../v2.34.0/graph_objects/barpolar_gen.go | 236 +-- generated/v2.34.0/graph_objects/box_gen.go | 160 +- .../v2.34.0/graph_objects/candlestick_gen.go | 112 +- generated/v2.34.0/graph_objects/carpet_gen.go | 246 +-- .../v2.34.0/graph_objects/choropleth_gen.go | 190 +- .../graph_objects/choroplethmapbox_gen.go | 192 +- generated/v2.34.0/graph_objects/cone_gen.go | 218 +-- generated/v2.34.0/graph_objects/config_gen.go | 74 +- .../v2.34.0/graph_objects/contour_gen.go | 234 +-- .../graph_objects/contourcarpet_gen.go | 174 +- .../graph_objects/densitymapbox_gen.go | 184 +- generated/v2.34.0/graph_objects/frames_gen.go | 8 +- generated/v2.34.0/graph_objects/funnel_gen.go | 316 +-- .../v2.34.0/graph_objects/funnelarea_gen.go | 212 +- .../v2.34.0/graph_objects/heatmap_gen.go | 208 +- .../v2.34.0/graph_objects/heatmapgl_gen.go | 172 +- .../v2.34.0/graph_objects/histogram2d_gen.go | 208 +- .../graph_objects/histogram2dcontour_gen.go | 234 +-- .../v2.34.0/graph_objects/histogram_gen.go | 318 +-- generated/v2.34.0/graph_objects/icicle_gen.go | 318 +-- generated/v2.34.0/graph_objects/image_gen.go | 92 +- .../v2.34.0/graph_objects/indicator_gen.go | 146 +- .../v2.34.0/graph_objects/isosurface_gen.go | 258 +-- generated/v2.34.0/graph_objects/layout_gen.go | 1726 ++++++++--------- generated/v2.34.0/graph_objects/mesh3d_gen.go | 224 +-- generated/v2.34.0/graph_objects/ohlc_gen.go | 118 +- .../v2.34.0/graph_objects/parcats_gen.go | 150 +- .../v2.34.0/graph_objects/parcoords_gen.go | 166 +- generated/v2.34.0/graph_objects/pie_gen.go | 246 +-- .../v2.34.0/graph_objects/pointcloud_gen.go | 104 +- generated/v2.34.0/graph_objects/sankey_gen.go | 214 +- .../v2.34.0/graph_objects/scatter3d_gen.go | 412 ++-- .../v2.34.0/graph_objects/scatter_gen.go | 362 ++-- .../graph_objects/scattercarpet_gen.go | 284 +-- .../v2.34.0/graph_objects/scattergeo_gen.go | 274 +-- .../v2.34.0/graph_objects/scattergl_gen.go | 302 +-- .../graph_objects/scattermapbox_gen.go | 242 +-- .../v2.34.0/graph_objects/scatterpolar_gen.go | 284 +-- .../graph_objects/scatterpolargl_gen.go | 254 +-- .../v2.34.0/graph_objects/scattersmith_gen.go | 280 +-- .../graph_objects/scatterternary_gen.go | 284 +-- generated/v2.34.0/graph_objects/splom_gen.go | 240 +-- .../v2.34.0/graph_objects/streamtube_gen.go | 222 +-- .../v2.34.0/graph_objects/sunburst_gen.go | 288 +-- .../v2.34.0/graph_objects/surface_gen.go | 272 +-- generated/v2.34.0/graph_objects/table_gen.go | 178 +- .../v2.34.0/graph_objects/treemap_gen.go | 328 ++-- generated/v2.34.0/graph_objects/violin_gen.go | 144 +- generated/v2.34.0/graph_objects/volume_gen.go | 258 +-- .../v2.34.0/graph_objects/waterfall_gen.go | 220 +-- generator/renderer.go | 12 +- generator/templates/frames.go | 8 +- pkg/types/basic.go | 62 +- 223 files changed, 22799 insertions(+), 22750 deletions(-) diff --git a/README.md b/README.md index 270f5e2..bfa9f6b 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ Currently, most common use cases should be already covered. Feel free to create - [x] Frames - [ ] defs - [ ] defs valobjects - - [ ] angle + - [ ] angle **needs validations** - [x] any - [x] boolean - [x] color @@ -100,12 +100,12 @@ Currently, most common use cases should be already covered. Feel free to create - [x] enumerated - [x] flaglist - [ ] info_array - - [ ] integer **Needs support for nil values** - - [ ] number **Needs support for nil values** + - [x] integer + - [x] number - [x] string - [ ] subplotid - [ ] defs_modifier - - [ ] arrayOK + - [x] arrayOK - [ ] min/max validations - [x] dflt **This is not needed in the output, as plotly will do it. But it would be nice to have a method to fetch it** - [ ] noBlank validation diff --git a/examples/animation/animation.go b/examples/animation/animation.go index 1824002..b2d6e07 100644 --- a/examples/animation/animation.go +++ b/examples/animation/animation.go @@ -59,12 +59,12 @@ func main() { }, Updatemenus: []grob.LayoutUpdatemenu{ { - Type: "buttons", + Type: grob.UpdatemenuTypeButtons, Showactive: types.False, Buttons: []grob.UpdatemenuButton{ { - Label: "Play", - Method: "animate", + Label: types.S("Play"), + Method: grob.ButtonMethodAnimate, Args: []*ButtonArgs{ nil, { @@ -80,11 +80,11 @@ func main() { Frames: frames, Animation: &grob.Animation{ Transition: &grob.AnimationTransition{ - Duration: 500, + Duration: types.N(500), Easing: grob.AnimationTransitionEasingCubicInOut, }, Frame: &grob.AnimationFrame{ - Duration: 500, + Duration: types.N(500), Redraw: types.True, }, }, diff --git a/examples/bar_custom/main.go b/examples/bar_custom/main.go index 6136773..bc61381 100644 --- a/examples/bar_custom/main.go +++ b/examples/bar_custom/main.go @@ -61,17 +61,17 @@ func main() { Color: types.ArrayOKValue(types.UseColor(types.Color( markerColor.Hex(), // Use colorfull ))), - Opacity: types.ArrayOKValue(0.6), + Opacity: types.ArrayOKValue(types.N(0.6)), Line: &grob.BarMarkerLine{ Color: types.ArrayOKValue(types.UseColor("rgb(8,48,107)")), // Or just write the string - Width: types.ArrayOKValue(1.5), + Width: types.ArrayOKValue(types.N(1.5)), }, }, } layout := &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "A Figure Specified By Go Struct", + Text: types.S("A Figure Specified By Go Struct"), }, } @@ -84,10 +84,10 @@ func main() { offline.Show(fig) } -func toString(in []int) []types.String { - out := make([]types.String, len(in)) +func toString(in []int) []types.StringType { + out := make([]types.StringType, len(in)) for i := range in { - out[i] = strconv.Itoa(in[i]) + out[i] = types.S(strconv.Itoa(in[i])) } return out } diff --git a/examples/colorscale/main.go b/examples/colorscale/main.go index 8c38cda..094a3d6 100644 --- a/examples/colorscale/main.go +++ b/examples/colorscale/main.go @@ -23,9 +23,9 @@ func main() { Marker: &grob.Scatter3dMarker{ Autocolorscale: types.False, Cauto: types.False, - Cmin: 0, - Cmid: 5, - Cmax: 10, + Cmin: types.N(0), + Cmid: types.N(5), + Cmax: types.N(10), Color: types.ArrayOKArray(types.UseColorScaleValues(z)...), Colorscale: &types.ColorScale{ Values: []types.ColorScaleReference{ @@ -43,15 +43,15 @@ func main() { }, }, Showscale: types.True, - Size: types.ArrayOKValue(4.0), + Size: types.ArrayOKValue(types.N(4.0)), }, }, }, Layout: &grob.Layout{ - Height: 700, - Width: 1200, + Height: types.N(700), + Width: types.N(1200), Title: &grob.LayoutTitle{ - Text: "3D Spiral", + Text: types.S("3D Spiral"), }, }, } diff --git a/examples/range_slider/main.go b/examples/range_slider/main.go index bab76ce..34fea8a 100644 --- a/examples/range_slider/main.go +++ b/examples/range_slider/main.go @@ -86,32 +86,32 @@ func main() { fig.Layout = &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "Time series with range slider and selectors", + Text: types.S("Time series with range slider and selectors"), }, Xaxis: &grob.LayoutXaxis{ Rangeselector: &grob.LayoutXaxisRangeselector{ Buttons: []grob.LayoutXaxisRangeselectorButton{ { - Count: 1, - Label: "1m", + Count: types.N(1), + Label: types.S("1m"), Step: "month", Stepmode: "backward", }, { - Count: 6, - Label: "6m", + Count: types.N(6), + Label: types.S("6m"), Step: "month", Stepmode: "backward", }, { - Count: 1, - Label: "YTD", + Count: types.N(1), + Label: types.S("YTD"), Step: "year", Stepmode: "todate", }, { - Count: 1, - Label: "1y", + Count: types.N(1), + Label: types.S("1y"), Step: "year", Stepmode: "backward", }, diff --git a/examples/responsive/main.go b/examples/responsive/main.go index e24cc94..3f9fb8b 100644 --- a/examples/responsive/main.go +++ b/examples/responsive/main.go @@ -24,7 +24,7 @@ func main() { }, Layout: &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "A Figure Specified By Go Struct", + Text: types.S("A Figure Specified By Go Struct"), }, }, Config: &grob.Config{ diff --git a/examples/shapes/main.go b/examples/shapes/main.go index 87de759..d93fe04 100644 --- a/examples/shapes/main.go +++ b/examples/shapes/main.go @@ -3,6 +3,7 @@ package main import ( grob "github.com/MetalBlueberry/go-plotly/generated/v2.19.0/graph_objects" "github.com/MetalBlueberry/go-plotly/pkg/offline" + "github.com/MetalBlueberry/go-plotly/pkg/types" ) func main() { @@ -17,7 +18,7 @@ func main() { fig := &grob.Fig{ Layout: &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "A Figure Specified By Go Struct", + Text: types.S("A Figure Specified By Go Struct"), }, Shapes: []grob.LayoutShape{ { @@ -28,7 +29,7 @@ func main() { Y1: 2, Line: &grob.ShapeLine{ Color: "RoyalBlue", - Width: 3, + Width: types.N(3), }, }, { @@ -39,8 +40,8 @@ func main() { Y1: 2, Line: &grob.ShapeLine{ Color: "LightSeaGreen", - Width: 4, - Dash: string(grob.Scatter3dLineDashDashdot), + Width: types.N(4), + Dash: types.S(string(grob.Scatter3dLineDashDashdot)), }, }, { @@ -51,8 +52,8 @@ func main() { Y1: 2, Line: &grob.ShapeLine{ Color: "MediumPurple", - Width: 4, - Dash: string(grob.Scatter3dLineDashDot), + Width: types.N(4), + Dash: types.S(string(grob.Scatter3dLineDashDot)), }, }, }, diff --git a/examples/stargazers/main.go b/examples/stargazers/main.go index 3378931..6274e82 100644 --- a/examples/stargazers/main.go +++ b/examples/stargazers/main.go @@ -55,13 +55,13 @@ func main() { x := []string{} y := []int{} - text := []types.String{} + text := []types.StringType{} link := []interface{}{} for i := 0; i < len(starredAt); i++ { x = append(x, starredAt[i].StarredAt.Format(time.RFC3339)) y = append(y, i+1) - text = append(text, starredAt[i].User.Login) + text = append(text, types.S(starredAt[i].User.Login)) link = append(link, starredAt[i].User.AvatarURL) } @@ -74,7 +74,7 @@ func main() { Text: types.ArrayOKArray(text...), Meta: types.ArrayOKArray(link...), Mode: grob.ScatterModeLines + "+" + grob.ScatterModeMarkers, - Name: "Stars", + Name: types.S("Stars"), Line: &grob.ScatterLine{ Color: "#f0ed46", }, @@ -83,7 +83,7 @@ func main() { Layout: &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "Metalblueberry/go-plotly Stargazers", + Text: types.S("Metalblueberry/go-plotly Stargazers"), }, Legend: &grob.LayoutLegend{}, }, diff --git a/examples/static_image/main.go b/examples/static_image/main.go index 4afe2b2..b5da9c3 100644 --- a/examples/static_image/main.go +++ b/examples/static_image/main.go @@ -30,7 +30,7 @@ func main() { }, Layout: &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "A Figure Specified By Go Struct", + Text: types.S("A Figure Specified By Go Struct"), }, }, } diff --git a/examples/subplots_share_axes/main.go b/examples/subplots_share_axes/main.go index a34d2cc..7a55760 100644 --- a/examples/subplots_share_axes/main.go +++ b/examples/subplots_share_axes/main.go @@ -62,26 +62,26 @@ func main() { &grob.Scatter{ X: types.DataArray([]float64{20, 30, 40}), Y: types.DataArray([]float64{5, 5, 5}), - Xaxis: "x2", - Yaxis: "y", + Xaxis: types.S("x2"), + Yaxis: types.S("y"), }, &grob.Scatter{ X: types.DataArray([]float64{2, 3, 4}), Y: types.DataArray([]float64{600, 700, 800}), - Xaxis: "x", - Yaxis: "y3", + Xaxis: types.S("x"), + Yaxis: types.S("y3"), }, &grob.Scatter{ X: types.DataArray([]float64{4000, 5000, 6000}), Y: types.DataArray([]float64{7000, 8000, 9000}), - Xaxis: "x4", - Yaxis: "y4", + Xaxis: types.S("x4"), + Yaxis: types.S("y4"), }, }, Layout: &grob.Layout{ Grid: &grob.LayoutGrid{ - Rows: 2, - Columns: 2, + Rows: types.I(2), + Columns: types.I(2), Subplots: [][]string{ {"xy", "x2y"}, {"xy3", "x4y4"}, diff --git a/examples/transforms/main.go b/examples/transforms/main.go index 72303bc..06dd68a 100644 --- a/examples/transforms/main.go +++ b/examples/transforms/main.go @@ -24,7 +24,7 @@ func main() { }, Layout: &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "A Figure Specified By Go Struct", + Text: types.S("A Figure Specified By Go Struct"), }, }, } diff --git a/examples/waterfall_bar_chart/main.go b/examples/waterfall_bar_chart/main.go index fb5d66a..c3d0688 100644 --- a/examples/waterfall_bar_chart/main.go +++ b/examples/waterfall_bar_chart/main.go @@ -138,7 +138,7 @@ func main() { Color: types.ArrayOKValue(types.UseColor("rgba(55,128,191,0.7)")), Line: &grob.BarMarkerLine{ Color: types.ArrayOKValue(types.UseColor("rgba(55,128,191,1.0)")), - Width: types.ArrayOKValue(2.0), + Width: types.ArrayOKValue(types.N(2.0)), }, }, } @@ -152,7 +152,7 @@ func main() { Color: types.ArrayOKValue(types.UseColor("rgba(219, 64, 82, 0.7)")), Line: &grob.BarMarkerLine{ Color: types.ArrayOKValue(types.UseColor("rgba(219, 64, 82, 1.0)")), - Width: types.ArrayOKValue(2.0), + Width: types.ArrayOKValue(types.N(2.0)), }, }, } @@ -166,7 +166,7 @@ func main() { Color: types.ArrayOKValue(types.UseColor("rgba(50,171, 96, 0.7)")), Line: &grob.BarMarkerLine{ Color: types.ArrayOKValue(types.UseColor("rgba(50,171,96,1.0)")), - Width: types.ArrayOKValue(2.0), + Width: types.ArrayOKValue(types.N(2.0)), }, }, } @@ -178,10 +178,10 @@ func main() { annotations[i] = grob.LayoutAnnotation{ X: xData[i], Y: yData[i], - Text: textList[i], + Text: types.S(textList[i]), Font: &grob.AnnotationFont{ - Family: "Arial", - Size: 14, + Family: types.S("Arial"), + Size: types.N(14), Color: "rgba(245,246,249,1)", }, Showarrow: types.False, @@ -190,13 +190,13 @@ func main() { layout := &grob.Layout{ Title: &grob.LayoutTitle{ - Text: "Annual Profit 2015", + Text: types.S("Annual Profit 2015"), }, Barmode: grob.BarBarmodeStack, PaperBgcolor: "rgba(245,246,249,1)", PlotBgcolor: "rgba(245,246,249,1)", - Width: 600, - Height: 600, + Width: types.N(600), + Height: types.N(600), Showlegend: types.False, Annotations: annotations, } diff --git a/generated/v2.19.0/graph_objects/animation_gen.go b/generated/v2.19.0/graph_objects/animation_gen.go index 83415c8..0d0e0ab 100644 --- a/generated/v2.19.0/graph_objects/animation_gen.go +++ b/generated/v2.19.0/graph_objects/animation_gen.go @@ -25,7 +25,7 @@ type Animation struct { // arrayOK: false // type: boolean // Play frames starting at the current frame instead of the beginning. - Fromcurrent types.Bool `json:"fromcurrent,omitempty"` + Fromcurrent types.BoolType `json:"fromcurrent,omitempty"` // Mode // arrayOK: false @@ -47,13 +47,13 @@ type AnimationFrame struct { // arrayOK: false // type: number // The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Redraw // arrayOK: false // type: boolean // Redraw the plot at completion of the transition. This is desirable for transitions that include properties that cannot be transitioned, but may significantly slow down updates that do not require a full redraw of the plot - Redraw types.Bool `json:"redraw,omitempty"` + Redraw types.BoolType `json:"redraw,omitempty"` } // AnimationTransition @@ -63,7 +63,7 @@ type AnimationTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false diff --git a/generated/v2.19.0/graph_objects/bar_gen.go b/generated/v2.19.0/graph_objects/bar_gen.go index c6a95cb..36c6daf 100644 --- a/generated/v2.19.0/graph_objects/bar_gen.go +++ b/generated/v2.19.0/graph_objects/bar_gen.go @@ -32,7 +32,7 @@ type Bar struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: true @@ -44,13 +44,13 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -71,19 +71,19 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -106,7 +106,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -117,25 +117,25 @@ type Bar struct { // 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. variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -149,7 +149,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -167,7 +167,7 @@ type Bar struct { // 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -178,13 +178,13 @@ type Bar struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -201,37 +201,37 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -260,7 +260,7 @@ type Bar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -271,13 +271,13 @@ type Bar struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -295,25 +295,25 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `value` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -324,7 +324,7 @@ type Bar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -348,13 +348,13 @@ type Bar struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -374,7 +374,7 @@ type Bar struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -387,7 +387,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -412,7 +412,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -432,7 +432,7 @@ type Bar struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -445,7 +445,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -470,7 +470,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // BarErrorX @@ -496,13 +496,13 @@ type BarErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -514,31 +514,31 @@ type BarErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -551,25 +551,25 @@ type BarErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarErrorY @@ -595,13 +595,13 @@ type BarErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -613,25 +613,25 @@ type BarErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -644,25 +644,25 @@ type BarErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarHoverlabelFont Sets the font used in hover labels. @@ -678,31 +678,31 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarHoverlabel @@ -719,7 +719,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -731,7 +731,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -743,7 +743,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -754,13 +754,13 @@ type BarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarInsidetextfont Sets the font used for `text` lying inside the bar. @@ -776,31 +776,31 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarLegendgrouptitleFont Sets this legend group's title font. @@ -816,13 +816,13 @@ type BarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarLegendgrouptitle @@ -837,7 +837,7 @@ type BarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbarTickfont Sets the color bar's tick label font @@ -853,13 +853,13 @@ type BarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarMarkerColorbarTickformatstop @@ -875,25 +875,25 @@ type BarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -909,13 +909,13 @@ type BarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarMarkerColorbarTitle @@ -937,7 +937,7 @@ type BarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbar @@ -959,7 +959,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -984,7 +984,7 @@ type BarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -997,13 +997,13 @@ type BarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1022,13 +1022,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1041,7 +1041,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1061,7 +1061,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1080,7 +1080,7 @@ type BarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1097,7 +1097,7 @@ type BarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1122,13 +1122,13 @@ type BarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1141,7 +1141,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1154,7 +1154,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1168,7 +1168,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1182,13 +1182,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1199,7 +1199,7 @@ type BarMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1212,13 +1212,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1231,7 +1231,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // BarMarkerLine @@ -1241,31 +1241,31 @@ type BarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1277,7 +1277,7 @@ type BarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1289,25 +1289,25 @@ type BarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarMarkerPattern Sets the pattern within the marker. @@ -1323,7 +1323,7 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1335,13 +1335,13 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1361,31 +1361,31 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarMarker @@ -1395,31 +1395,31 @@ type BarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1431,7 +1431,7 @@ type BarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1448,7 +1448,7 @@ type BarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1459,13 +1459,13 @@ type BarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1476,13 +1476,13 @@ type BarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1498,31 +1498,31 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarSelectedMarker @@ -1538,7 +1538,7 @@ type BarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarSelectedTextfont @@ -1572,13 +1572,13 @@ type BarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarTextfont Sets the font used for `text`. @@ -1594,31 +1594,31 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarTransform 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. @@ -1638,7 +1638,7 @@ type BarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/barpolar_gen.go b/generated/v2.19.0/graph_objects/barpolar_gen.go index b763337..ea80aaf 100644 --- a/generated/v2.19.0/graph_objects/barpolar_gen.go +++ b/generated/v2.19.0/graph_objects/barpolar_gen.go @@ -38,7 +38,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Hoverinfo // arrayOK: true @@ -77,7 +77,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -88,25 +88,25 @@ type Barpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -120,13 +120,13 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -137,13 +137,13 @@ type Barpolar struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -160,31 +160,31 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the angular position where the bar is drawn (in *thetatunit* units). - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -204,7 +204,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -221,7 +221,7 @@ type Barpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -232,19 +232,19 @@ type Barpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Theta // arrayOK: false @@ -264,7 +264,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -282,7 +282,7 @@ type Barpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -306,13 +306,13 @@ type Barpolar struct { // arrayOK: true // type: number // Sets the bar angular width (in *thetaunit* units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarHoverlabelFont Sets the font used in hover labels. @@ -328,31 +328,31 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarpolarHoverlabel @@ -369,7 +369,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -381,7 +381,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -393,7 +393,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -404,13 +404,13 @@ type BarpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarpolarLegendgrouptitleFont Sets this legend group's title font. @@ -426,13 +426,13 @@ type BarpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarLegendgrouptitle @@ -447,7 +447,7 @@ type BarpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -463,13 +463,13 @@ type BarpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarMarkerColorbarTickformatstop @@ -485,25 +485,25 @@ type BarpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -519,13 +519,13 @@ type BarpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarMarkerColorbarTitle @@ -547,7 +547,7 @@ type BarpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbar @@ -569,7 +569,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -594,7 +594,7 @@ type BarpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -607,13 +607,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -632,13 +632,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -651,7 +651,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -671,7 +671,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -690,7 +690,7 @@ type BarpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -707,7 +707,7 @@ type BarpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -732,13 +732,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -751,7 +751,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -764,7 +764,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -778,7 +778,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -792,13 +792,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -809,7 +809,7 @@ type BarpolarMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -822,13 +822,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -841,7 +841,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // BarpolarMarkerLine @@ -851,31 +851,31 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -887,7 +887,7 @@ type BarpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -899,25 +899,25 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarMarkerPattern Sets the pattern within the marker. @@ -933,7 +933,7 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -945,13 +945,13 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -971,31 +971,31 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarpolarMarker @@ -1005,31 +1005,31 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1041,7 +1041,7 @@ type BarpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1058,7 +1058,7 @@ type BarpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1069,13 +1069,13 @@ type BarpolarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1086,13 +1086,13 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarpolarSelectedMarker @@ -1108,7 +1108,7 @@ type BarpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarSelectedTextfont @@ -1142,13 +1142,13 @@ type BarpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarpolarTransform 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. @@ -1168,7 +1168,7 @@ type BarpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/box_gen.go b/generated/v2.19.0/graph_objects/box_gen.go index e7fd80f..8eb1c92 100644 --- a/generated/v2.19.0/graph_objects/box_gen.go +++ b/generated/v2.19.0/graph_objects/box_gen.go @@ -32,7 +32,7 @@ type Box struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Boxmean // arrayOK: false @@ -60,19 +60,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step for multi-box traces set using q1/median/q3. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step for multi-box traces set using q1/median/q3. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -91,7 +91,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -109,25 +109,25 @@ type Box struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -141,19 +141,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the box(es). - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -164,13 +164,13 @@ type Box struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -189,7 +189,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lowerfence`. - Lowerfencesrc types.String `json:"lowerfencesrc,omitempty"` + Lowerfencesrc types.StringType `json:"lowerfencesrc,omitempty"` // Marker // arrayOK: false @@ -208,7 +208,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `mean`. - Meansrc types.String `json:"meansrc,omitempty"` + Meansrc types.StringType `json:"meansrc,omitempty"` // Median // arrayOK: false @@ -222,7 +222,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `median`. - Mediansrc types.String `json:"mediansrc,omitempty"` + Mediansrc types.StringType `json:"mediansrc,omitempty"` // Meta // arrayOK: true @@ -234,19 +234,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. For box traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Notched // arrayOK: false // type: boolean // Determines whether or not notches are drawn. Notches displays a confidence interval around the median. We compute the confidence interval as median +/- 1.57 * IQR / sqrt(N), where IQR is the interquartile range and N is the sample size. If two boxes' notches do not overlap there is 95% confidence their medians differ. See https://sites.google.com/site/davidsstatistics/home/notched-box-plots for more info. Defaults to *false* unless `notchwidth` or `notchspan` is set. - Notched types.Bool `json:"notched,omitempty"` + Notched types.BoolType `json:"notched,omitempty"` // Notchspan // arrayOK: false @@ -260,25 +260,25 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `notchspan`. - Notchspansrc types.String `json:"notchspansrc,omitempty"` + Notchspansrc types.StringType `json:"notchspansrc,omitempty"` // Notchwidth // arrayOK: false // type: number // Sets the width of the notches relative to the box' width. For example, with 0, the notches are as wide as the box(es). - Notchwidth float64 `json:"notchwidth,omitempty"` + Notchwidth types.NumberType `json:"notchwidth,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -291,7 +291,7 @@ type Box struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the box(es). If *0*, the sample points are places over the center of the box(es). Positive (negative) values correspond to positions to the right (left) for vertical boxes and above (below) for horizontal boxes - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Q1 // arrayOK: false @@ -305,7 +305,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q1`. - Q1src types.String `json:"q1src,omitempty"` + Q1src types.StringType `json:"q1src,omitempty"` // Q3 // arrayOK: false @@ -319,7 +319,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q3`. - Q3src types.String `json:"q3src,omitempty"` + Q3src types.StringType `json:"q3src,omitempty"` // Quartilemethod // arrayOK: false @@ -340,7 +340,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `sd`. - Sdsrc types.String `json:"sdsrc,omitempty"` + Sdsrc types.StringType `json:"sdsrc,omitempty"` // Selected // arrayOK: false @@ -357,7 +357,7 @@ type Box struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -368,13 +368,13 @@ type Box struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -385,7 +385,7 @@ type Box struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -410,7 +410,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `upperfence`. - Upperfencesrc types.String `json:"upperfencesrc,omitempty"` + Upperfencesrc types.StringType `json:"upperfencesrc,omitempty"` // Visible // arrayOK: false @@ -423,13 +423,13 @@ type Box struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the box in data coordinate If *0* (default value) the width is automatically selected based on the positions of other box traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -449,7 +449,7 @@ type Box struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -462,7 +462,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -487,7 +487,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -507,7 +507,7 @@ type Box struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -520,7 +520,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -545,7 +545,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // BoxHoverlabelFont Sets the font used in hover labels. @@ -561,31 +561,31 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BoxHoverlabel @@ -602,7 +602,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -614,7 +614,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -626,7 +626,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -637,13 +637,13 @@ type BoxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BoxLegendgrouptitleFont Sets this legend group's title font. @@ -659,13 +659,13 @@ type BoxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxLegendgrouptitle @@ -680,7 +680,7 @@ type BoxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BoxLine @@ -696,7 +696,7 @@ type BoxLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarkerLine @@ -718,13 +718,13 @@ type BoxMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarker @@ -734,7 +734,7 @@ type BoxMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -751,7 +751,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -763,7 +763,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -786,13 +786,13 @@ type BoxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxSelected @@ -811,13 +811,13 @@ type BoxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BoxTransform 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. @@ -837,13 +837,13 @@ type BoxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxUnselected diff --git a/generated/v2.19.0/graph_objects/candlestick_gen.go b/generated/v2.19.0/graph_objects/candlestick_gen.go index eaa1b47..379b751 100644 --- a/generated/v2.19.0/graph_objects/candlestick_gen.go +++ b/generated/v2.19.0/graph_objects/candlestick_gen.go @@ -40,7 +40,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Candlestick struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,7 +128,7 @@ type Candlestick struct { // 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -139,13 +139,13 @@ type Candlestick struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -164,7 +164,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -176,19 +176,19 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -202,7 +202,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -214,7 +214,7 @@ type Candlestick struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -225,13 +225,13 @@ type Candlestick struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -242,7 +242,7 @@ type Candlestick struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -261,7 +261,7 @@ type Candlestick struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // X // arrayOK: false @@ -275,7 +275,7 @@ type Candlestick struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -288,7 +288,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -313,19 +313,19 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // CandlestickDecreasingLine @@ -341,7 +341,7 @@ type CandlestickDecreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickDecreasing @@ -372,31 +372,31 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // CandlestickHoverlabel @@ -413,7 +413,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -425,7 +425,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -437,7 +437,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -448,19 +448,19 @@ type CandlestickHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // CandlestickIncreasingLine @@ -476,7 +476,7 @@ type CandlestickIncreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickIncreasing @@ -507,13 +507,13 @@ type CandlestickLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CandlestickLegendgrouptitle @@ -528,7 +528,7 @@ type CandlestickLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CandlestickLine @@ -538,7 +538,7 @@ type CandlestickLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickStream @@ -548,13 +548,13 @@ type CandlestickStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CandlestickTransform 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. diff --git a/generated/v2.19.0/graph_objects/carpet_gen.go b/generated/v2.19.0/graph_objects/carpet_gen.go index 941083c..6487409 100644 --- a/generated/v2.19.0/graph_objects/carpet_gen.go +++ b/generated/v2.19.0/graph_objects/carpet_gen.go @@ -40,7 +40,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `a`. Builds a linear space of a coordinates. Use with `da` where `a0` is the starting coordinate and `da` the step. - A0 float64 `json:"a0,omitempty"` + A0 types.NumberType `json:"a0,omitempty"` // Aaxis // arrayOK: false @@ -51,7 +51,7 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -65,7 +65,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `b`. Builds a linear space of a coordinates. Use with `db` where `b0` is the starting coordinate and `db` the step. - B0 float64 `json:"b0,omitempty"` + B0 types.NumberType `json:"b0,omitempty"` // Baxis // arrayOK: false @@ -76,19 +76,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,omitempty"` // Cheaterslope // arrayOK: false // type: number // The shift applied to each successive row of data in creating a cheater plot. Only used if `x` is been omitted. - Cheaterslope float64 `json:"cheaterslope,omitempty"` + Cheaterslope types.NumberType `json:"cheaterslope,omitempty"` // Color // arrayOK: false @@ -108,19 +108,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the a coordinate step. See `a0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the b coordinate step. See `b0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Font // arrayOK: false @@ -139,7 +139,7 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legendgrouptitle // arrayOK: false @@ -150,13 +150,13 @@ type Carpet struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -168,19 +168,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Stream // arrayOK: false @@ -191,7 +191,7 @@ type Carpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -218,13 +218,13 @@ type Carpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -238,13 +238,13 @@ type Carpet struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // CarpetAaxisTickfont Sets the tick font. @@ -260,13 +260,13 @@ type CarpetAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetAaxisTickformatstop @@ -282,25 +282,25 @@ type CarpetAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetAaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -316,13 +316,13 @@ type CarpetAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetAaxisTitle @@ -337,13 +337,13 @@ type CarpetAaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetAaxis @@ -353,13 +353,13 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -387,7 +387,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -413,13 +413,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -431,7 +431,7 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -444,7 +444,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -456,13 +456,13 @@ type CarpetAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -474,19 +474,19 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -498,13 +498,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -516,25 +516,25 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -553,7 +553,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -566,13 +566,13 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -599,13 +599,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -617,19 +617,19 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -640,7 +640,7 @@ type CarpetAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -658,13 +658,13 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -678,7 +678,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -692,7 +692,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -720,13 +720,13 @@ type CarpetBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetBaxisTickformatstop @@ -742,25 +742,25 @@ type CarpetBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetBaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -776,13 +776,13 @@ type CarpetBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetBaxisTitle @@ -797,13 +797,13 @@ type CarpetBaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetBaxis @@ -813,13 +813,13 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -847,7 +847,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -873,13 +873,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -891,7 +891,7 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -904,7 +904,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -916,13 +916,13 @@ type CarpetBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -934,19 +934,19 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -958,13 +958,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -976,25 +976,25 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -1013,7 +1013,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1026,13 +1026,13 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -1059,13 +1059,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -1077,19 +1077,19 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -1100,7 +1100,7 @@ type CarpetBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1118,13 +1118,13 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1138,7 +1138,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1152,7 +1152,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -1180,13 +1180,13 @@ type CarpetFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetLegendgrouptitleFont Sets this legend group's title font. @@ -1202,13 +1202,13 @@ type CarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetLegendgrouptitle @@ -1223,7 +1223,7 @@ type CarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetStream @@ -1233,13 +1233,13 @@ type CarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CarpetAaxisAutorange Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to *false*. diff --git a/generated/v2.19.0/graph_objects/choropleth_gen.go b/generated/v2.19.0/graph_objects/choropleth_gen.go index e7e3e44..2bd726f 100644 --- a/generated/v2.19.0/graph_objects/choropleth_gen.go +++ b/generated/v2.19.0/graph_objects/choropleth_gen.go @@ -32,13 +32,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geo // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choropleth struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,13 +137,13 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -154,13 +154,13 @@ type Choropleth struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locationmode // arrayOK: false @@ -181,7 +181,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -198,19 +198,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -227,13 +227,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -244,13 +244,13 @@ type Choropleth struct { // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -261,7 +261,7 @@ type Choropleth struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -293,31 +293,31 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethColorbarTickfont Sets the color bar's tick label font @@ -333,13 +333,13 @@ type ChoroplethColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethColorbarTickformatstop @@ -355,25 +355,25 @@ type ChoroplethColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -389,13 +389,13 @@ type ChoroplethColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethColorbarTitle @@ -417,7 +417,7 @@ type ChoroplethColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethColorbar @@ -439,7 +439,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -464,7 +464,7 @@ type ChoroplethColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -477,13 +477,13 @@ type ChoroplethColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -502,13 +502,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -521,7 +521,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -541,7 +541,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -560,7 +560,7 @@ type ChoroplethColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -577,7 +577,7 @@ type ChoroplethColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -602,13 +602,13 @@ type ChoroplethColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -621,7 +621,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -634,7 +634,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -648,7 +648,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -662,13 +662,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -679,7 +679,7 @@ type ChoroplethColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -692,13 +692,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -711,7 +711,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ChoroplethHoverlabelFont Sets the font used in hover labels. @@ -727,31 +727,31 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ChoroplethHoverlabel @@ -768,7 +768,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -780,7 +780,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -792,7 +792,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -803,13 +803,13 @@ type ChoroplethHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethLegendgrouptitleFont Sets this legend group's title font. @@ -825,13 +825,13 @@ type ChoroplethLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethLegendgrouptitle @@ -846,7 +846,7 @@ type ChoroplethLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethMarkerLine @@ -862,19 +862,19 @@ type ChoroplethMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethMarker @@ -889,13 +889,13 @@ type ChoroplethMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethSelectedMarker @@ -905,7 +905,7 @@ type ChoroplethSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethSelected @@ -924,13 +924,13 @@ type ChoroplethStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethTransform 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. @@ -944,7 +944,7 @@ type ChoroplethUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethUnselected diff --git a/generated/v2.19.0/graph_objects/choroplethmapbox_gen.go b/generated/v2.19.0/graph_objects/choroplethmapbox_gen.go index 1ba2c8c..3db5062 100644 --- a/generated/v2.19.0/graph_objects/choroplethmapbox_gen.go +++ b/generated/v2.19.0/graph_objects/choroplethmapbox_gen.go @@ -32,19 +32,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,13 +69,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choroplethmapbox struct { // 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. variable `properties` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,13 +137,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -154,13 +154,13 @@ type Choroplethmapbox struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locations // arrayOK: false @@ -174,7 +174,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -191,19 +191,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -220,13 +220,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -237,19 +237,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -260,7 +260,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -292,31 +292,31 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethmapboxColorbarTickfont Sets the color bar's tick label font @@ -332,13 +332,13 @@ type ChoroplethmapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxColorbarTickformatstop @@ -354,25 +354,25 @@ type ChoroplethmapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethmapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -388,13 +388,13 @@ type ChoroplethmapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxColorbarTitle @@ -416,7 +416,7 @@ type ChoroplethmapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxColorbar @@ -438,7 +438,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -463,7 +463,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -476,13 +476,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -501,13 +501,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -520,7 +520,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -540,7 +540,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -559,7 +559,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -576,7 +576,7 @@ type ChoroplethmapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -601,13 +601,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -620,7 +620,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -633,7 +633,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -647,7 +647,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -661,13 +661,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -678,7 +678,7 @@ type ChoroplethmapboxColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -691,13 +691,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -710,7 +710,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ChoroplethmapboxHoverlabelFont Sets the font used in hover labels. @@ -726,31 +726,31 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ChoroplethmapboxHoverlabel @@ -767,7 +767,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -779,7 +779,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -791,7 +791,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -802,13 +802,13 @@ type ChoroplethmapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethmapboxLegendgrouptitleFont Sets this legend group's title font. @@ -824,13 +824,13 @@ type ChoroplethmapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxLegendgrouptitle @@ -845,7 +845,7 @@ type ChoroplethmapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxMarkerLine @@ -861,19 +861,19 @@ type ChoroplethmapboxMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethmapboxMarker @@ -888,13 +888,13 @@ type ChoroplethmapboxMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethmapboxSelectedMarker @@ -904,7 +904,7 @@ type ChoroplethmapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxSelected @@ -923,13 +923,13 @@ type ChoroplethmapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethmapboxTransform 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. @@ -943,7 +943,7 @@ type ChoroplethmapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxUnselected diff --git a/generated/v2.19.0/graph_objects/cone_gen.go b/generated/v2.19.0/graph_objects/cone_gen.go index ba3a790..dea1ad0 100644 --- a/generated/v2.19.0/graph_objects/cone_gen.go +++ b/generated/v2.19.0/graph_objects/cone_gen.go @@ -39,37 +39,37 @@ type Cone struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -94,7 +94,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -107,7 +107,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -118,25 +118,25 @@ type Cone struct { // 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. variable `norm` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -150,13 +150,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Cone struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -195,43 +195,43 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizemode // arrayOK: false @@ -244,7 +244,7 @@ type Cone struct { // arrayOK: false // type: number // Adjusts the cone size scaling. The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`. This factor (computed internally) corresponds to the minimum "time" to travel across two successive x/y/z positions at the average velocity of those two successive positions. All cones in a given trace use the same factor. With `sizemode` set to *scaled*, `sizeref` is unitless, its default value is *0.5* With `sizemode` set to *absolute*, `sizeref` has the same units as the u/v/w vector field, its the default value is half the sample's maximum vector norm. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Stream // arrayOK: false @@ -255,13 +255,13 @@ type Cone struct { // arrayOK: true // type: string // Sets the text elements associated with the cones. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // U // arrayOK: false @@ -275,13 +275,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -293,7 +293,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -307,7 +307,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -320,7 +320,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -334,13 +334,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -354,13 +354,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -374,13 +374,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -394,13 +394,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ConeColorbarTickfont Sets the color bar's tick label font @@ -416,13 +416,13 @@ type ConeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeColorbarTickformatstop @@ -438,25 +438,25 @@ type ConeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ConeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -472,13 +472,13 @@ type ConeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeColorbarTitle @@ -500,7 +500,7 @@ type ConeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeColorbar @@ -522,7 +522,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -547,7 +547,7 @@ type ConeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -560,13 +560,13 @@ type ConeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -585,13 +585,13 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -604,7 +604,7 @@ type ConeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -624,7 +624,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -643,7 +643,7 @@ type ConeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -660,7 +660,7 @@ type ConeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -685,13 +685,13 @@ type ConeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -704,7 +704,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -717,7 +717,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -731,7 +731,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -745,13 +745,13 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -762,7 +762,7 @@ type ConeColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -775,13 +775,13 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -794,7 +794,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ConeHoverlabelFont Sets the font used in hover labels. @@ -810,31 +810,31 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ConeHoverlabel @@ -851,7 +851,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -863,7 +863,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -875,7 +875,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -886,13 +886,13 @@ type ConeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ConeLegendgrouptitleFont Sets this legend group's title font. @@ -908,13 +908,13 @@ type ConeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeLegendgrouptitle @@ -929,7 +929,7 @@ type ConeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeLighting @@ -939,43 +939,43 @@ type ConeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // ConeLightposition @@ -985,19 +985,19 @@ type ConeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // ConeStream @@ -1007,13 +1007,13 @@ type ConeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ConeAnchor Sets the cones' anchor with respect to their x/y/z positions. Note that *cm* denote the cone's center of mass which corresponds to 1/4 from the tail to tip. diff --git a/generated/v2.19.0/graph_objects/config_gen.go b/generated/v2.19.0/graph_objects/config_gen.go index 44bb91c..c3a5fcf 100644 --- a/generated/v2.19.0/graph_objects/config_gen.go +++ b/generated/v2.19.0/graph_objects/config_gen.go @@ -13,7 +13,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether the graphs are plotted with respect to layout.autosize:true and infer its container size. - Autosizable types.Bool `json:"autosizable,omitempty"` + Autosizable types.BoolType `json:"autosizable,omitempty"` // DisplayModeBar // arrayOK: false @@ -26,7 +26,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not the plotly logo is displayed on the end of the mode bar. - Displaylogo types.Bool `json:"displaylogo,omitempty"` + Displaylogo types.BoolType `json:"displaylogo,omitempty"` // DoubleClick // arrayOK: false @@ -39,19 +39,19 @@ type Config struct { // arrayOK: false // type: number // Sets the delay for registering a double-click in ms. This is the time interval (in ms) between first mousedown and 2nd mouseup to constitute a double-click. This setting propagates to all on-subplot double clicks (except for geo and mapbox) and on-legend double clicks. - DoubleClickDelay float64 `json:"doubleClickDelay,omitempty"` + DoubleClickDelay types.NumberType `json:"doubleClickDelay,omitempty"` // EditSelection // arrayOK: false // type: boolean // Enables moving selections. - EditSelection types.Bool `json:"editSelection,omitempty"` + EditSelection types.BoolType `json:"editSelection,omitempty"` // Editable // arrayOK: false // type: boolean // Determines whether the graph is editable or not. Sets all pieces of `edits` unless a separate `edits` config item overrides individual parts. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Edits // arrayOK: false @@ -62,13 +62,13 @@ type Config struct { // arrayOK: false // type: boolean // When `layout.autosize` is turned on, determines whether the graph fills the container (the default) or the screen (if set to *true*). - FillFrame types.Bool `json:"fillFrame,omitempty"` + FillFrame types.BoolType `json:"fillFrame,omitempty"` // FrameMargins // arrayOK: false // type: number // When `layout.autosize` is turned on, set the frame margins in fraction of the graph size. - FrameMargins float64 `json:"frameMargins,omitempty"` + FrameMargins types.NumberType `json:"frameMargins,omitempty"` // GlobalTransforms // arrayOK: false @@ -80,13 +80,13 @@ type Config struct { // arrayOK: false // type: string // Sets the text appearing in the `showLink` link. - LinkText types.String `json:"linkText,omitempty"` + LinkText types.StringType `json:"linkText,omitempty"` // Locale // arrayOK: false // type: string // Which localization should we use? Should be a string like 'en' or 'en-US'. - Locale types.String `json:"locale,omitempty"` + Locale types.StringType `json:"locale,omitempty"` // Locales // arrayOK: false @@ -98,13 +98,13 @@ type Config struct { // arrayOK: false // type: integer // Turn all console logging on or off (errors will be thrown) This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no logs 1: warnings and errors, but not informational messages 2: verbose logs - Logging int64 `json:"logging,omitempty"` + Logging types.IntegerType `json:"logging,omitempty"` // MapboxAccessToken // arrayOK: false // type: string // Mapbox access token (required to plot mapbox trace types) If using an Mapbox Atlas server, set this option to '' so that plotly.js won't attempt to authenticate to the public Mapbox server. - MapboxAccessToken types.String `json:"mapboxAccessToken,omitempty"` + MapboxAccessToken types.StringType `json:"mapboxAccessToken,omitempty"` // ModeBarButtons // arrayOK: false @@ -128,31 +128,31 @@ type Config struct { // arrayOK: false // type: integer // Set on-graph logging (notifier) level This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no on-graph logs 1: warnings and errors, but not informational messages 2: verbose logs - NotifyOnLogging int64 `json:"notifyOnLogging,omitempty"` + NotifyOnLogging types.IntegerType `json:"notifyOnLogging,omitempty"` // PlotGlPixelRatio // arrayOK: false // type: number // Set the pixel ratio during WebGL image export. This config option was formerly named `plot3dPixelRatio` which is now deprecated. - PlotGlPixelRatio float64 `json:"plotGlPixelRatio,omitempty"` + PlotGlPixelRatio types.NumberType `json:"plotGlPixelRatio,omitempty"` // PlotlyServerURL // arrayOK: false // type: string // When set it determines base URL for the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button and the showLink/sendData on-graph link. To enable sending your data to Chart Studio Cloud, you need to set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and also set `showSendToCloud` to true. - PlotlyServerURL types.String `json:"plotlyServerURL,omitempty"` + PlotlyServerURL types.StringType `json:"plotlyServerURL,omitempty"` // QueueLength // arrayOK: false // type: integer // Sets the length of the undo/redo queue. - QueueLength int64 `json:"queueLength,omitempty"` + QueueLength types.IntegerType `json:"queueLength,omitempty"` // Responsive // arrayOK: false // type: boolean // Determines whether to change the layout size when window is resized. In v3, this option will be removed and will always be true. - Responsive types.Bool `json:"responsive,omitempty"` + Responsive types.BoolType `json:"responsive,omitempty"` // ScrollZoom // arrayOK: false @@ -165,7 +165,7 @@ type Config struct { // arrayOK: false // type: boolean // If *showLink* is true, does it contain data just link to a Chart Studio Cloud file? - SendData types.Bool `json:"sendData,omitempty"` + SendData types.BoolType `json:"sendData,omitempty"` // SetBackground // arrayOK: false @@ -177,31 +177,31 @@ type Config struct { // arrayOK: false // type: boolean // Set to *false* to omit cartesian axis pan/zoom drag handles. - ShowAxisDragHandles types.Bool `json:"showAxisDragHandles,omitempty"` + ShowAxisDragHandles types.BoolType `json:"showAxisDragHandles,omitempty"` // ShowAxisRangeEntryBoxes // arrayOK: false // type: boolean // Set to *false* to omit direct range entry at the pan/zoom drag points, note that `showAxisDragHandles` must be enabled to have an effect. - ShowAxisRangeEntryBoxes types.Bool `json:"showAxisRangeEntryBoxes,omitempty"` + ShowAxisRangeEntryBoxes types.BoolType `json:"showAxisRangeEntryBoxes,omitempty"` // ShowEditInChartStudio // arrayOK: false // type: boolean // Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk. Note that if both `showSendToCloud` and `showEditInChartStudio` are turned, only `showEditInChartStudio` will be honored. - ShowEditInChartStudio types.Bool `json:"showEditInChartStudio,omitempty"` + ShowEditInChartStudio types.BoolType `json:"showEditInChartStudio,omitempty"` // ShowLink // arrayOK: false // type: boolean // Determines whether a link to Chart Studio Cloud is displayed at the bottom right corner of resulting graphs. Use with `sendData` and `linkText`. - ShowLink types.Bool `json:"showLink,omitempty"` + ShowLink types.BoolType `json:"showLink,omitempty"` // ShowSendToCloud // arrayOK: false // type: boolean // Should we include a ModeBar button, labeled "Edit in Chart Studio", that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0 this button was included by default, now it is opt-in using this flag. Note that this button can (depending on `plotlyServerURL` being set) send your data to an external server. However that server does not persist your data until you arrive at the Chart Studio and explicitly click "Save". - ShowSendToCloud types.Bool `json:"showSendToCloud,omitempty"` + ShowSendToCloud types.BoolType `json:"showSendToCloud,omitempty"` // ShowSources // arrayOK: false @@ -213,13 +213,13 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not tips are shown while interacting with the resulting graphs. - ShowTips types.Bool `json:"showTips,omitempty"` + ShowTips types.BoolType `json:"showTips,omitempty"` // StaticPlot // arrayOK: false // type: boolean // Determines whether the graphs are interactive or not. If *false*, no interactivity, for export or image generation. - StaticPlot types.Bool `json:"staticPlot,omitempty"` + StaticPlot types.BoolType `json:"staticPlot,omitempty"` // ToImageButtonOptions // arrayOK: false @@ -231,19 +231,19 @@ type Config struct { // arrayOK: false // type: string // Set the URL to topojson used in geo charts. By default, the topojson files are fetched from cdn.plot.ly. For example, set this option to: /dist/topojson/ to render geographical feature using the topojson files that ship with the plotly.js module. - TopojsonURL types.String `json:"topojsonURL,omitempty"` + TopojsonURL types.StringType `json:"topojsonURL,omitempty"` // TypesetMath // arrayOK: false // type: boolean // Determines whether math should be typeset or not, when MathJax (either v2 or v3) is present on the page. - TypesetMath types.Bool `json:"typesetMath,omitempty"` + TypesetMath types.BoolType `json:"typesetMath,omitempty"` // Watermark // arrayOK: false // type: boolean // watermark the images with the company's logo - Watermark types.Bool `json:"watermark,omitempty"` + Watermark types.BoolType `json:"watermark,omitempty"` } // ConfigEdits @@ -253,61 +253,61 @@ type ConfigEdits struct { // arrayOK: false // type: boolean // Determines if the main anchor of the annotation is editable. The main anchor corresponds to the text (if no arrow) or the arrow (which drags the whole thing leaving the arrow length & direction unchanged). - AnnotationPosition types.Bool `json:"annotationPosition,omitempty"` + AnnotationPosition types.BoolType `json:"annotationPosition,omitempty"` // AnnotationTail // arrayOK: false // type: boolean // Has only an effect for annotations with arrows. Enables changing the length and direction of the arrow. - AnnotationTail types.Bool `json:"annotationTail,omitempty"` + AnnotationTail types.BoolType `json:"annotationTail,omitempty"` // AnnotationText // arrayOK: false // type: boolean // Enables editing annotation text. - AnnotationText types.Bool `json:"annotationText,omitempty"` + AnnotationText types.BoolType `json:"annotationText,omitempty"` // AxisTitleText // arrayOK: false // type: boolean // Enables editing axis title text. - AxisTitleText types.Bool `json:"axisTitleText,omitempty"` + AxisTitleText types.BoolType `json:"axisTitleText,omitempty"` // ColorbarPosition // arrayOK: false // type: boolean // Enables moving colorbars. - ColorbarPosition types.Bool `json:"colorbarPosition,omitempty"` + ColorbarPosition types.BoolType `json:"colorbarPosition,omitempty"` // ColorbarTitleText // arrayOK: false // type: boolean // Enables editing colorbar title text. - ColorbarTitleText types.Bool `json:"colorbarTitleText,omitempty"` + ColorbarTitleText types.BoolType `json:"colorbarTitleText,omitempty"` // LegendPosition // arrayOK: false // type: boolean // Enables moving the legend. - LegendPosition types.Bool `json:"legendPosition,omitempty"` + LegendPosition types.BoolType `json:"legendPosition,omitempty"` // LegendText // arrayOK: false // type: boolean // Enables editing the trace name fields from the legend - LegendText types.Bool `json:"legendText,omitempty"` + LegendText types.BoolType `json:"legendText,omitempty"` // ShapePosition // arrayOK: false // type: boolean // Enables moving shapes. - ShapePosition types.Bool `json:"shapePosition,omitempty"` + ShapePosition types.BoolType `json:"shapePosition,omitempty"` // TitleText // arrayOK: false // type: boolean // Enables editing the global layout title. - TitleText types.Bool `json:"titleText,omitempty"` + TitleText types.BoolType `json:"titleText,omitempty"` } // ConfigDisplayModeBar Determines the mode bar display mode. If *true*, the mode bar is always visible. If *false*, the mode bar is always hidden. If *hover*, the mode bar is visible while the mouse cursor is on the graph container. diff --git a/generated/v2.19.0/graph_objects/contour_gen.go b/generated/v2.19.0/graph_objects/contour_gen.go index e21e5eb..143efaa 100644 --- a/generated/v2.19.0/graph_objects/contour_gen.go +++ b/generated/v2.19.0/graph_objects/contour_gen.go @@ -32,19 +32,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -61,7 +61,7 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -80,19 +80,19 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -111,7 +111,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -122,19 +122,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -148,7 +148,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,13 +162,13 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -179,13 +179,13 @@ type Contour struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -202,43 +202,43 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -262,13 +262,13 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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 `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -279,13 +279,13 @@ type Contour struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -318,7 +318,7 @@ type Contour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -331,7 +331,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -356,7 +356,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -383,7 +383,7 @@ type Contour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -396,7 +396,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -421,7 +421,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -442,37 +442,37 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourColorbarTickfont Sets the color bar's tick label font @@ -488,13 +488,13 @@ type ContourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourColorbarTickformatstop @@ -510,25 +510,25 @@ type ContourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -544,13 +544,13 @@ type ContourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourColorbarTitle @@ -572,7 +572,7 @@ type ContourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourColorbar @@ -594,7 +594,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -619,7 +619,7 @@ type ContourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -632,13 +632,13 @@ type ContourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -657,13 +657,13 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -676,7 +676,7 @@ type ContourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -696,7 +696,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -715,7 +715,7 @@ type ContourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -732,7 +732,7 @@ type ContourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -757,13 +757,13 @@ type ContourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -776,7 +776,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -789,7 +789,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -803,7 +803,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -817,13 +817,13 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -834,7 +834,7 @@ type ContourColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -847,13 +847,13 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -866,7 +866,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ContourContoursLabelfont Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. @@ -882,13 +882,13 @@ type ContourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourContours @@ -905,7 +905,7 @@ type ContourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -916,7 +916,7 @@ type ContourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -929,25 +929,25 @@ type ContourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -976,31 +976,31 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ContourHoverlabel @@ -1017,7 +1017,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1029,7 +1029,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1041,7 +1041,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1052,13 +1052,13 @@ type ContourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ContourLegendgrouptitleFont Sets this legend group's title font. @@ -1074,13 +1074,13 @@ type ContourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourLegendgrouptitle @@ -1095,7 +1095,7 @@ type ContourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourLine @@ -1111,19 +1111,19 @@ type ContourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourStream @@ -1133,13 +1133,13 @@ type ContourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1155,13 +1155,13 @@ type ContourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourTransform 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. diff --git a/generated/v2.19.0/graph_objects/contourcarpet_gen.go b/generated/v2.19.0/graph_objects/contourcarpet_gen.go index d48177b..87f69bd 100644 --- a/generated/v2.19.0/graph_objects/contourcarpet_gen.go +++ b/generated/v2.19.0/graph_objects/contourcarpet_gen.go @@ -46,7 +46,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // Atype // arrayOK: false @@ -59,13 +59,13 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // B // arrayOK: false @@ -85,7 +85,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // Btype // arrayOK: false @@ -98,13 +98,13 @@ type Contourcarpet struct { // arrayOK: false // type: string // The `carpet` of the carpet axes on which this contour trace lies - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -134,19 +134,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Fillcolor // arrayOK: false @@ -166,7 +166,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -180,13 +180,13 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -197,13 +197,13 @@ type Contourcarpet struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -220,43 +220,43 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -275,19 +275,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transpose // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -306,13 +306,13 @@ type Contourcarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -326,31 +326,31 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourcarpetColorbarTickfont Sets the color bar's tick label font @@ -366,13 +366,13 @@ type ContourcarpetColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetColorbarTickformatstop @@ -388,25 +388,25 @@ type ContourcarpetColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourcarpetColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -422,13 +422,13 @@ type ContourcarpetColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetColorbarTitle @@ -450,7 +450,7 @@ type ContourcarpetColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetColorbar @@ -472,7 +472,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -497,7 +497,7 @@ type ContourcarpetColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -510,13 +510,13 @@ type ContourcarpetColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -535,13 +535,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -554,7 +554,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -574,7 +574,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -593,7 +593,7 @@ type ContourcarpetColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -610,7 +610,7 @@ type ContourcarpetColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -635,13 +635,13 @@ type ContourcarpetColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -654,7 +654,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -667,7 +667,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -681,7 +681,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -695,13 +695,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -712,7 +712,7 @@ type ContourcarpetColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -725,13 +725,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -744,7 +744,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ContourcarpetContoursLabelfont Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. @@ -760,13 +760,13 @@ type ContourcarpetContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetContours @@ -783,7 +783,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -794,7 +794,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -807,25 +807,25 @@ type ContourcarpetContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -854,13 +854,13 @@ type ContourcarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetLegendgrouptitle @@ -875,7 +875,7 @@ type ContourcarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetLine @@ -891,19 +891,19 @@ type ContourcarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourcarpetStream @@ -913,13 +913,13 @@ type ContourcarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourcarpetAtype If *array*, the heatmap's x coordinates are given by *x* (the default behavior when `x` is provided). If *scaled*, the heatmap's x coordinates are given by *x0* and *dx* (the default behavior when `x` is not provided). diff --git a/generated/v2.19.0/graph_objects/densitymapbox_gen.go b/generated/v2.19.0/graph_objects/densitymapbox_gen.go index c2fd8d8..2987961 100644 --- a/generated/v2.19.0/graph_objects/densitymapbox_gen.go +++ b/generated/v2.19.0/graph_objects/densitymapbox_gen.go @@ -32,19 +32,19 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the densitymapbox trace will be inserted before the layer with the specified ID. By default, densitymapbox traces are placed below the first layer of type symbol If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,7 +69,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -82,7 +82,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -93,25 +93,25 @@ type Densitymapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -125,7 +125,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -139,13 +139,13 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Densitymapbox struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lon // arrayOK: false @@ -176,7 +176,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Meta // arrayOK: true @@ -188,49 +188,49 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Radius // arrayOK: true // type: number // Sets the radius of influence of one `lon` / `lat` point in pixels. Increasing the value makes the densitymapbox trace smoother, but less detailed. - Radius *types.ArrayOK[*float64] `json:"radius,omitempty"` + Radius *types.ArrayOK[*types.NumberType] `json:"radius,omitempty"` // Radiussrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `radius`. - Radiussrc types.String `json:"radiussrc,omitempty"` + Radiussrc types.StringType `json:"radiussrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -241,19 +241,19 @@ type Densitymapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -264,7 +264,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -291,31 +291,31 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // DensitymapboxColorbarTickfont Sets the color bar's tick label font @@ -331,13 +331,13 @@ type DensitymapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxColorbarTickformatstop @@ -353,25 +353,25 @@ type DensitymapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // DensitymapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -387,13 +387,13 @@ type DensitymapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxColorbarTitle @@ -415,7 +415,7 @@ type DensitymapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxColorbar @@ -437,7 +437,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -462,7 +462,7 @@ type DensitymapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -475,13 +475,13 @@ type DensitymapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -500,13 +500,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -519,7 +519,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -539,7 +539,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -558,7 +558,7 @@ type DensitymapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -575,7 +575,7 @@ type DensitymapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -600,13 +600,13 @@ type DensitymapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -619,7 +619,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -632,7 +632,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -646,7 +646,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -660,13 +660,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -677,7 +677,7 @@ type DensitymapboxColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -690,13 +690,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -709,7 +709,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // DensitymapboxHoverlabelFont Sets the font used in hover labels. @@ -725,31 +725,31 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // DensitymapboxHoverlabel @@ -766,7 +766,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -778,7 +778,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -790,7 +790,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -801,13 +801,13 @@ type DensitymapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // DensitymapboxLegendgrouptitleFont Sets this legend group's title font. @@ -823,13 +823,13 @@ type DensitymapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxLegendgrouptitle @@ -844,7 +844,7 @@ type DensitymapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxStream @@ -854,13 +854,13 @@ type DensitymapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // DensitymapboxTransform 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. diff --git a/generated/v2.19.0/graph_objects/frames_gen.go b/generated/v2.19.0/graph_objects/frames_gen.go index f17fece..2a15635 100644 --- a/generated/v2.19.0/graph_objects/frames_gen.go +++ b/generated/v2.19.0/graph_objects/frames_gen.go @@ -11,7 +11,7 @@ type Frame struct { // Baseframe // The name of the frame into which this frame's properties are merged before applying. This is used to unify properties and avoid needing to specify the same values for the same properties in multiple frames. - Baseframe types.String `json:"baseframe,omitempty"` + Baseframe types.StringType `json:"baseframe,omitempty"` // Data // A list of traces this frame modifies. The format is identical to the normal trace definition. @@ -19,15 +19,15 @@ type Frame struct { // Group // An identifier that specifies the group to which the frame belongs, used by animate to select a subset of frames. - Group types.String `json:"group,omitempty"` + Group types.StringType `json:"group,omitempty"` // Layout // Layout properties which this frame modifies. The format is identical to the normal layout definition. - Layout Layout `json:"layout,omitempty"` + Layout *Layout `json:"layout,omitempty"` // Name // A label by which to identify the frame - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Traces // A list of trace indices that identify the respective traces in the data attribute diff --git a/generated/v2.19.0/graph_objects/funnel_gen.go b/generated/v2.19.0/graph_objects/funnel_gen.go index 8039e9c..a7a2fe7 100644 --- a/generated/v2.19.0/graph_objects/funnel_gen.go +++ b/generated/v2.19.0/graph_objects/funnel_gen.go @@ -32,13 +32,13 @@ type Funnel struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -64,19 +64,19 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -89,7 +89,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -100,25 +100,25 @@ type Funnel struct { // 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. variables `percentInitial`, `percentPrevious` and `percentTotal`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -132,7 +132,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -150,7 +150,7 @@ type Funnel struct { // 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -161,13 +161,13 @@ type Funnel struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -184,31 +184,31 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: false // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -232,7 +232,7 @@ type Funnel struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -243,13 +243,13 @@ type Funnel struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -274,25 +274,25 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `percentInitial`, `percentPrevious`, `percentTotal`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -303,7 +303,7 @@ type Funnel struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -322,7 +322,7 @@ type Funnel struct { // arrayOK: false // type: number // Sets the bar width (in position axis units). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -342,13 +342,13 @@ type Funnel struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -373,7 +373,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -393,13 +393,13 @@ type Funnel struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -424,7 +424,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // FunnelConnectorLine @@ -440,13 +440,13 @@ type FunnelConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // FunnelConnector @@ -467,7 +467,7 @@ type FunnelConnector struct { // arrayOK: false // type: boolean // Determines if connector regions and lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // FunnelHoverlabelFont Sets the font used in hover labels. @@ -483,31 +483,31 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelHoverlabel @@ -524,7 +524,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -536,7 +536,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -548,7 +548,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -559,13 +559,13 @@ type FunnelHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelInsidetextfont Sets the font used for `text` lying inside the bar. @@ -581,31 +581,31 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelLegendgrouptitleFont Sets this legend group's title font. @@ -621,13 +621,13 @@ type FunnelLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelLegendgrouptitle @@ -642,7 +642,7 @@ type FunnelLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbarTickfont Sets the color bar's tick label font @@ -658,13 +658,13 @@ type FunnelMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelMarkerColorbarTickformatstop @@ -680,25 +680,25 @@ type FunnelMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // FunnelMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -714,13 +714,13 @@ type FunnelMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelMarkerColorbarTitle @@ -742,7 +742,7 @@ type FunnelMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbar @@ -764,7 +764,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -789,7 +789,7 @@ type FunnelMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -802,13 +802,13 @@ type FunnelMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -827,13 +827,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -846,7 +846,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -866,7 +866,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -885,7 +885,7 @@ type FunnelMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -902,7 +902,7 @@ type FunnelMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -927,13 +927,13 @@ type FunnelMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -946,7 +946,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -959,7 +959,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -973,7 +973,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -987,13 +987,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1004,7 +1004,7 @@ type FunnelMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1017,13 +1017,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1036,7 +1036,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // FunnelMarkerLine @@ -1046,31 +1046,31 @@ type FunnelMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1082,7 +1082,7 @@ type FunnelMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1094,25 +1094,25 @@ type FunnelMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelMarker @@ -1122,31 +1122,31 @@ type FunnelMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1158,7 +1158,7 @@ type FunnelMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1175,7 +1175,7 @@ type FunnelMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1186,25 +1186,25 @@ type FunnelMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // FunnelOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1220,31 +1220,31 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelStream @@ -1254,13 +1254,13 @@ type FunnelStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelTextfont Sets the font used for `text`. @@ -1276,31 +1276,31 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelTransform 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. diff --git a/generated/v2.19.0/graph_objects/funnelarea_gen.go b/generated/v2.19.0/graph_objects/funnelarea_gen.go index 4acd34a..e385d25 100644 --- a/generated/v2.19.0/graph_objects/funnelarea_gen.go +++ b/generated/v2.19.0/graph_objects/funnelarea_gen.go @@ -32,13 +32,13 @@ type Funnelarea struct { // arrayOK: false // type: number // Sets the ratio between height and width - Aspectratio float64 `json:"aspectratio,omitempty"` + Aspectratio types.NumberType `json:"aspectratio,omitempty"` // Baseratio // arrayOK: false // type: number // Sets the ratio between bottom length and maximum top length. - Baseratio float64 `json:"baseratio,omitempty"` + Baseratio types.NumberType `json:"baseratio,omitempty"` // Customdata // arrayOK: false @@ -52,13 +52,13 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dlabel // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -76,7 +76,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -87,25 +87,25 @@ type Funnelarea struct { // 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. variables `label`, `color`, `value`, `text` and `percent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -119,7 +119,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -130,7 +130,7 @@ type Funnelarea struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -144,13 +144,13 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -161,13 +161,13 @@ type Funnelarea struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -184,31 +184,31 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple funnelareas that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -246,25 +246,25 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `label`, `color`, `value`, `text` and `percent`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -280,7 +280,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -300,7 +300,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -317,13 +317,13 @@ type FunnelareaDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this funnelarea trace . - Column int64 `json:"column,omitempty"` + 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 funnelarea trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -351,31 +351,31 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaHoverlabel @@ -392,7 +392,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -404,7 +404,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -416,7 +416,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -427,13 +427,13 @@ type FunnelareaHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelareaInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -449,31 +449,31 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaLegendgrouptitleFont Sets this legend group's title font. @@ -489,13 +489,13 @@ type FunnelareaLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelareaLegendgrouptitle @@ -510,7 +510,7 @@ type FunnelareaLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaMarkerLine @@ -526,19 +526,19 @@ type FunnelareaMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelareaMarker @@ -556,7 +556,7 @@ type FunnelareaMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -571,13 +571,13 @@ type FunnelareaStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelareaTextfont Sets the font used for `textinfo`. @@ -593,31 +593,31 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -633,31 +633,31 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaTitle @@ -679,7 +679,7 @@ type FunnelareaTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaTransform 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. diff --git a/generated/v2.19.0/graph_objects/heatmap_gen.go b/generated/v2.19.0/graph_objects/heatmap_gen.go index 3f75c9f..c1b0d3a 100644 --- a/generated/v2.19.0/graph_objects/heatmap_gen.go +++ b/generated/v2.19.0/graph_objects/heatmap_gen.go @@ -32,13 +32,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -55,7 +55,7 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array and `zsmooth` is not false; otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -69,19 +69,19 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -94,7 +94,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,19 +105,19 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -131,7 +131,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -145,13 +145,13 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -162,13 +162,13 @@ type Heatmap struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -180,37 +180,37 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -234,13 +234,13 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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 `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -251,13 +251,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -290,7 +290,7 @@ type Heatmap struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -303,13 +303,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -334,7 +334,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -361,7 +361,7 @@ type Heatmap struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -374,13 +374,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -405,7 +405,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -426,31 +426,31 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -463,7 +463,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapColorbarTickfont Sets the color bar's tick label font @@ -479,13 +479,13 @@ type HeatmapColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapColorbarTickformatstop @@ -501,25 +501,25 @@ type HeatmapColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -535,13 +535,13 @@ type HeatmapColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapColorbarTitle @@ -563,7 +563,7 @@ type HeatmapColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapColorbar @@ -585,7 +585,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -610,7 +610,7 @@ type HeatmapColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -623,13 +623,13 @@ type HeatmapColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -648,13 +648,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -667,7 +667,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -687,7 +687,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -706,7 +706,7 @@ type HeatmapColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -723,7 +723,7 @@ type HeatmapColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -748,13 +748,13 @@ type HeatmapColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -767,7 +767,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -780,7 +780,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -794,7 +794,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -808,13 +808,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -825,7 +825,7 @@ type HeatmapColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -838,13 +838,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -857,7 +857,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // HeatmapHoverlabelFont Sets the font used in hover labels. @@ -873,31 +873,31 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HeatmapHoverlabel @@ -914,7 +914,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -926,7 +926,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -938,7 +938,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -949,13 +949,13 @@ type HeatmapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapLegendgrouptitleFont Sets this legend group's title font. @@ -971,13 +971,13 @@ type HeatmapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapLegendgrouptitle @@ -992,7 +992,7 @@ type HeatmapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapStream @@ -1002,13 +1002,13 @@ type HeatmapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapTextfont Sets the text font. @@ -1024,13 +1024,13 @@ type HeatmapTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapTransform 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. diff --git a/generated/v2.19.0/graph_objects/heatmapgl_gen.go b/generated/v2.19.0/graph_objects/heatmapgl_gen.go index 52b7e8c..f6f3dbf 100644 --- a/generated/v2.19.0/graph_objects/heatmapgl_gen.go +++ b/generated/v2.19.0/graph_objects/heatmapgl_gen.go @@ -32,13 +32,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -88,7 +88,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -107,7 +107,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legendgrouptitle // arrayOK: false @@ -118,13 +118,13 @@ type Heatmapgl struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -136,31 +136,31 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -179,7 +179,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -190,13 +190,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -229,13 +229,13 @@ type Heatmapgl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -262,13 +262,13 @@ type Heatmapgl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -289,25 +289,25 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -320,7 +320,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapglColorbarTickfont Sets the color bar's tick label font @@ -336,13 +336,13 @@ type HeatmapglColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglColorbarTickformatstop @@ -358,25 +358,25 @@ type HeatmapglColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapglColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -392,13 +392,13 @@ type HeatmapglColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglColorbarTitle @@ -420,7 +420,7 @@ type HeatmapglColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglColorbar @@ -442,7 +442,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -467,7 +467,7 @@ type HeatmapglColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -480,13 +480,13 @@ type HeatmapglColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -505,13 +505,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -524,7 +524,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -544,7 +544,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -563,7 +563,7 @@ type HeatmapglColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -580,7 +580,7 @@ type HeatmapglColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -605,13 +605,13 @@ type HeatmapglColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -624,7 +624,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -637,7 +637,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -651,7 +651,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -665,13 +665,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -682,7 +682,7 @@ type HeatmapglColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -695,13 +695,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -714,7 +714,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // HeatmapglHoverlabelFont Sets the font used in hover labels. @@ -730,31 +730,31 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HeatmapglHoverlabel @@ -771,7 +771,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -783,7 +783,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -795,7 +795,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -806,13 +806,13 @@ type HeatmapglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapglLegendgrouptitleFont Sets this legend group's title font. @@ -828,13 +828,13 @@ type HeatmapglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglLegendgrouptitle @@ -849,7 +849,7 @@ type HeatmapglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglStream @@ -859,13 +859,13 @@ type HeatmapglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapglTransform 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. diff --git a/generated/v2.19.0/graph_objects/histogram2d_gen.go b/generated/v2.19.0/graph_objects/histogram2d_gen.go index b193b02..efbe763 100644 --- a/generated/v2.19.0/graph_objects/histogram2d_gen.go +++ b/generated/v2.19.0/graph_objects/histogram2d_gen.go @@ -32,31 +32,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -81,7 +81,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -108,7 +108,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -119,13 +119,13 @@ type Histogram2d struct { // 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. variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -139,13 +139,13 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Histogram2d struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -179,49 +179,49 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -237,7 +237,7 @@ type Histogram2d struct { // arrayOK: false // 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. variable `z` - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -248,7 +248,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -275,13 +275,13 @@ type Histogram2d struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -299,19 +299,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -325,13 +325,13 @@ type Histogram2d struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -349,19 +349,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -375,31 +375,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -412,7 +412,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dColorbarTickfont Sets the color bar's tick label font @@ -428,13 +428,13 @@ type Histogram2dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dColorbarTickformatstop @@ -450,25 +450,25 @@ type Histogram2dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -484,13 +484,13 @@ type Histogram2dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dColorbarTitle @@ -512,7 +512,7 @@ type Histogram2dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dColorbar @@ -534,7 +534,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -559,7 +559,7 @@ type Histogram2dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -572,13 +572,13 @@ type Histogram2dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -597,13 +597,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -616,7 +616,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -636,7 +636,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -655,7 +655,7 @@ type Histogram2dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -672,7 +672,7 @@ type Histogram2dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -697,13 +697,13 @@ type Histogram2dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -716,7 +716,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -729,7 +729,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -743,7 +743,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -757,13 +757,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -774,7 +774,7 @@ type Histogram2dColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -787,13 +787,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -806,7 +806,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // Histogram2dHoverlabelFont Sets the font used in hover labels. @@ -822,31 +822,31 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Histogram2dHoverlabel @@ -863,7 +863,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -875,7 +875,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -887,7 +887,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -898,13 +898,13 @@ type Histogram2dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dLegendgrouptitleFont Sets this legend group's title font. @@ -920,13 +920,13 @@ type Histogram2dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dLegendgrouptitle @@ -941,7 +941,7 @@ type Histogram2dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dMarker @@ -959,7 +959,7 @@ type Histogram2dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dStream @@ -969,13 +969,13 @@ type Histogram2dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dTextfont Sets the text font. @@ -991,13 +991,13 @@ type Histogram2dTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dTransform 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. diff --git a/generated/v2.19.0/graph_objects/histogram2dcontour_gen.go b/generated/v2.19.0/graph_objects/histogram2dcontour_gen.go index 11fd635..0e64090 100644 --- a/generated/v2.19.0/graph_objects/histogram2dcontour_gen.go +++ b/generated/v2.19.0/graph_objects/histogram2dcontour_gen.go @@ -32,37 +32,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -92,7 +92,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -119,7 +119,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,13 +130,13 @@ type Histogram2dcontour struct { // 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. variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -150,13 +150,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Histogram2dcontour struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -195,55 +195,55 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -259,7 +259,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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 `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -270,7 +270,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -297,13 +297,13 @@ type Histogram2dcontour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -321,13 +321,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -341,13 +341,13 @@ type Histogram2dcontour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -365,13 +365,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -385,37 +385,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dcontourColorbarTickfont Sets the color bar's tick label font @@ -431,13 +431,13 @@ type Histogram2dcontourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourColorbarTickformatstop @@ -453,25 +453,25 @@ type Histogram2dcontourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dcontourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -487,13 +487,13 @@ type Histogram2dcontourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourColorbarTitle @@ -515,7 +515,7 @@ type Histogram2dcontourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourColorbar @@ -537,7 +537,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -562,7 +562,7 @@ type Histogram2dcontourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -575,13 +575,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -600,13 +600,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -619,7 +619,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -639,7 +639,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -658,7 +658,7 @@ type Histogram2dcontourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -675,7 +675,7 @@ type Histogram2dcontourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -700,13 +700,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -719,7 +719,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -732,7 +732,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -746,7 +746,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -760,13 +760,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -777,7 +777,7 @@ type Histogram2dcontourColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -790,13 +790,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -809,7 +809,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // Histogram2dcontourContoursLabelfont Sets the font used for labeling the contour levels. The default color comes from the lines, if shown. The default family and size come from `layout.font`. @@ -825,13 +825,13 @@ type Histogram2dcontourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourContours @@ -848,7 +848,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -859,7 +859,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -872,25 +872,25 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -919,31 +919,31 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Histogram2dcontourHoverlabel @@ -960,7 +960,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -972,7 +972,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -984,7 +984,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -995,13 +995,13 @@ type Histogram2dcontourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dcontourLegendgrouptitleFont Sets this legend group's title font. @@ -1017,13 +1017,13 @@ type Histogram2dcontourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourLegendgrouptitle @@ -1038,7 +1038,7 @@ type Histogram2dcontourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourLine @@ -1054,19 +1054,19 @@ type Histogram2dcontourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Histogram2dcontourMarker @@ -1084,7 +1084,7 @@ type Histogram2dcontourMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dcontourStream @@ -1094,13 +1094,13 @@ type Histogram2dcontourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dcontourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1116,13 +1116,13 @@ type Histogram2dcontourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourTransform 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. diff --git a/generated/v2.19.0/graph_objects/histogram_gen.go b/generated/v2.19.0/graph_objects/histogram_gen.go index 490f7a1..5abc9de 100644 --- a/generated/v2.19.0/graph_objects/histogram_gen.go +++ b/generated/v2.19.0/graph_objects/histogram_gen.go @@ -32,31 +32,31 @@ type Histogram struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Autobinx // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Bingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible bin settings. Note that traces on the same subplot and with the same *orientation* under `barmode` *stack*, *relative* and *group* are forced into the same bingroup, Using `bingroup`, traces under `barmode` *overlay* and on different axes (of the same axis type) can have compatible bin settings. Note that histogram and histogram2d* trace can share the same `bingroup` - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -82,7 +82,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -119,7 +119,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,25 +130,25 @@ type Histogram struct { // 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. variable `binNumber` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,7 +162,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -180,7 +180,7 @@ type Histogram struct { // 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -191,13 +191,13 @@ type Histogram struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -214,37 +214,37 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -273,7 +273,7 @@ type Histogram struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -284,13 +284,13 @@ type Histogram struct { // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -308,13 +308,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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 `label` and `value`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -325,7 +325,7 @@ type Histogram struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -357,7 +357,7 @@ type Histogram struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbins // arrayOK: false @@ -375,13 +375,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -395,7 +395,7 @@ type Histogram struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybins // arrayOK: false @@ -413,13 +413,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // HistogramCumulative @@ -443,7 +443,7 @@ type HistogramCumulative struct { // arrayOK: false // type: boolean // If true, display the cumulative distribution by summing the binned values. Use the `direction` and `centralbin` attributes to tune the accumulation method. Note: in this mode, the *density* `histnorm` settings behave the same as their equivalents without *density*: ** and *density* both rise to the number of data points, and *probability* and *probability density* both rise to the number of sample points. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` } // HistogramErrorX @@ -469,13 +469,13 @@ type HistogramErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -487,31 +487,31 @@ type HistogramErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -524,25 +524,25 @@ type HistogramErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramErrorY @@ -568,13 +568,13 @@ type HistogramErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -586,25 +586,25 @@ type HistogramErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -617,25 +617,25 @@ type HistogramErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramHoverlabelFont Sets the font used in hover labels. @@ -651,31 +651,31 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HistogramHoverlabel @@ -692,7 +692,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -704,7 +704,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -716,7 +716,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -727,13 +727,13 @@ type HistogramHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HistogramInsidetextfont Sets the font used for `text` lying inside the bar. @@ -749,13 +749,13 @@ type HistogramInsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramLegendgrouptitleFont Sets this legend group's title font. @@ -771,13 +771,13 @@ type HistogramLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramLegendgrouptitle @@ -792,7 +792,7 @@ type HistogramLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbarTickfont Sets the color bar's tick label font @@ -808,13 +808,13 @@ type HistogramMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramMarkerColorbarTickformatstop @@ -830,25 +830,25 @@ type HistogramMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HistogramMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -864,13 +864,13 @@ type HistogramMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramMarkerColorbarTitle @@ -892,7 +892,7 @@ type HistogramMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbar @@ -914,7 +914,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -939,7 +939,7 @@ type HistogramMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -952,13 +952,13 @@ type HistogramMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -977,13 +977,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -996,7 +996,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1016,7 +1016,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1035,7 +1035,7 @@ type HistogramMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1052,7 +1052,7 @@ type HistogramMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1077,13 +1077,13 @@ type HistogramMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1096,7 +1096,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1109,7 +1109,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1123,7 +1123,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1137,13 +1137,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1154,7 +1154,7 @@ type HistogramMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1167,13 +1167,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1186,7 +1186,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // HistogramMarkerLine @@ -1196,31 +1196,31 @@ type HistogramMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1232,7 +1232,7 @@ type HistogramMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1244,25 +1244,25 @@ type HistogramMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // HistogramMarkerPattern Sets the pattern within the marker. @@ -1278,7 +1278,7 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1290,13 +1290,13 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1316,31 +1316,31 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // HistogramMarker @@ -1350,31 +1350,31 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1386,7 +1386,7 @@ type HistogramMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1403,7 +1403,7 @@ type HistogramMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1414,13 +1414,13 @@ type HistogramMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1431,13 +1431,13 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // HistogramOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1453,13 +1453,13 @@ type HistogramOutsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramSelectedMarker @@ -1475,7 +1475,7 @@ type HistogramSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramSelectedTextfont @@ -1509,13 +1509,13 @@ type HistogramStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HistogramTextfont Sets the text font. @@ -1531,13 +1531,13 @@ type HistogramTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramTransform 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. @@ -1557,7 +1557,7 @@ type HistogramUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/icicle_gen.go b/generated/v2.19.0/graph_objects/icicle_gen.go index ffa4544..ad6bd66 100644 --- a/generated/v2.19.0/graph_objects/icicle_gen.go +++ b/generated/v2.19.0/graph_objects/icicle_gen.go @@ -54,7 +54,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Icicle struct { // 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. variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,7 +134,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -150,13 +150,13 @@ type Icicle struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -173,7 +173,7 @@ type Icicle struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -185,19 +185,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -216,7 +216,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -232,7 +232,7 @@ type Icicle struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -270,19 +270,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -298,7 +298,7 @@ type Icicle struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -318,7 +318,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -335,13 +335,13 @@ type IcicleDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this icicle trace . - Column int64 `json:"column,omitempty"` + 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 icicle trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -369,31 +369,31 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleHoverlabel @@ -410,7 +410,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -422,7 +422,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -434,7 +434,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -445,13 +445,13 @@ type IcicleHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IcicleInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -467,31 +467,31 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleLeaf @@ -501,7 +501,7 @@ type IcicleLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // IcicleLegendgrouptitleFont Sets this legend group's title font. @@ -517,13 +517,13 @@ type IcicleLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleLegendgrouptitle @@ -538,7 +538,7 @@ type IcicleLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbarTickfont Sets the color bar's tick label font @@ -554,13 +554,13 @@ type IcicleMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleMarkerColorbarTickformatstop @@ -576,25 +576,25 @@ type IcicleMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IcicleMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -610,13 +610,13 @@ type IcicleMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleMarkerColorbarTitle @@ -638,7 +638,7 @@ type IcicleMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbar @@ -660,7 +660,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -685,7 +685,7 @@ type IcicleMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -698,13 +698,13 @@ type IcicleMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -723,13 +723,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -742,7 +742,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -762,7 +762,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -781,7 +781,7 @@ type IcicleMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -798,7 +798,7 @@ type IcicleMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -823,13 +823,13 @@ type IcicleMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -842,7 +842,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -855,7 +855,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -869,7 +869,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -883,13 +883,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -900,7 +900,7 @@ type IcicleMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -913,13 +913,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -932,7 +932,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // IcicleMarkerLine @@ -948,19 +948,19 @@ type IcicleMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // IcicleMarker @@ -970,37 +970,37 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1025,7 +1025,7 @@ type IcicleMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1036,13 +1036,13 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // IcicleOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1058,31 +1058,31 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IciclePathbarTextfont Sets the font used inside `pathbar`. @@ -1098,31 +1098,31 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IciclePathbar @@ -1151,13 +1151,13 @@ type IciclePathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IcicleRoot @@ -1177,13 +1177,13 @@ type IcicleStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IcicleTextfont Sets the font used for `textinfo`. @@ -1199,31 +1199,31 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleTiling @@ -1247,7 +1247,7 @@ type IcicleTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` } // IcicleTransform 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. diff --git a/generated/v2.19.0/graph_objects/image_gen.go b/generated/v2.19.0/graph_objects/image_gen.go index 769c886..8175e1f 100644 --- a/generated/v2.19.0/graph_objects/image_gen.go +++ b/generated/v2.19.0/graph_objects/image_gen.go @@ -47,19 +47,19 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Set the pixel's horizontal size. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Set the pixel's vertical size - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -72,7 +72,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,13 +83,13 @@ type Image struct { // 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. variables `z`, `color` and `colormodel`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -103,7 +103,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legendgrouptitle // arrayOK: false @@ -128,13 +128,13 @@ type Image struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -146,25 +146,25 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false // type: string // Specifies the data URI of the image to be visualized. The URI consists of "data:image/[][;base64]," - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,omitempty"` // Stream // arrayOK: false @@ -183,13 +183,13 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -214,7 +214,7 @@ type Image struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Y0 // arrayOK: false @@ -226,7 +226,7 @@ type Image struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -259,7 +259,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ImageHoverlabelFont Sets the font used in hover labels. @@ -275,31 +275,31 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ImageHoverlabel @@ -316,7 +316,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -328,7 +328,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -340,7 +340,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -351,13 +351,13 @@ type ImageHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ImageLegendgrouptitleFont Sets this legend group's title font. @@ -373,13 +373,13 @@ type ImageLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ImageLegendgrouptitle @@ -394,7 +394,7 @@ type ImageLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ImageStream @@ -404,13 +404,13 @@ type ImageStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ImageColormodel Color model used to map the numerical color components described in `z` into colors. If `source` is specified, this attribute will be set to `rgba256` otherwise it defaults to `rgb`. diff --git a/generated/v2.19.0/graph_objects/indicator_gen.go b/generated/v2.19.0/graph_objects/indicator_gen.go index d7f5e95..69523c2 100644 --- a/generated/v2.19.0/graph_objects/indicator_gen.go +++ b/generated/v2.19.0/graph_objects/indicator_gen.go @@ -47,7 +47,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delta // arrayOK: false @@ -76,7 +76,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legendgrouptitle // arrayOK: false @@ -87,13 +87,13 @@ type Indicator struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -105,7 +105,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -118,7 +118,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Number // arrayOK: false @@ -144,7 +144,7 @@ type Indicator struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -156,7 +156,7 @@ type Indicator struct { // arrayOK: false // type: number // Sets the number to be displayed. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Visible // arrayOK: false @@ -179,7 +179,7 @@ type IndicatorDeltaDecreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDeltaFont Set the font used to display the delta @@ -195,13 +195,13 @@ type IndicatorDeltaFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorDeltaIncreasing @@ -217,7 +217,7 @@ type IndicatorDeltaIncreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDelta @@ -249,31 +249,31 @@ type IndicatorDelta struct { // arrayOK: false // type: string // Sets a prefix appearing before the delta. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Reference // arrayOK: false // type: number // Sets the reference value to compute the delta. By default, it is set to the current value. - Reference float64 `json:"reference,omitempty"` + Reference types.NumberType `json:"reference,omitempty"` // Relative // arrayOK: false // type: boolean // Show relative change - Relative types.Bool `json:"relative,omitempty"` + Relative types.BoolType `json:"relative,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the delta. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorDomain @@ -283,13 +283,13 @@ type IndicatorDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this indicator trace . - Column int64 `json:"column,omitempty"` + 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 indicator trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -317,13 +317,13 @@ type IndicatorGaugeAxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorGaugeAxisTickformatstop @@ -339,25 +339,25 @@ type IndicatorGaugeAxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IndicatorGaugeAxis @@ -386,13 +386,13 @@ type IndicatorGaugeAxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -404,7 +404,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -417,7 +417,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -443,7 +443,7 @@ type IndicatorGaugeAxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -460,7 +460,7 @@ type IndicatorGaugeAxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -471,13 +471,13 @@ type IndicatorGaugeAxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -490,7 +490,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -503,7 +503,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -517,7 +517,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -531,19 +531,19 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IndicatorGaugeBarLine @@ -559,7 +559,7 @@ type IndicatorGaugeBarLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeBar Set the appearance of the gauge's value @@ -580,7 +580,7 @@ type IndicatorGaugeBar struct { // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // StepLine @@ -596,7 +596,7 @@ type StepLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeStep @@ -617,7 +617,7 @@ type IndicatorGaugeStep struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -629,13 +629,13 @@ type IndicatorGaugeStep struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // IndicatorGaugeThresholdLine @@ -651,7 +651,7 @@ type IndicatorGaugeThresholdLine struct { // arrayOK: false // type: number // Sets the width (in px) of the threshold line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeThreshold @@ -666,13 +666,13 @@ type IndicatorGaugeThreshold struct { // arrayOK: false // type: number // Sets the thickness of the threshold line as a fraction of the thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Value // arrayOK: false // type: number // Sets a treshold value drawn as a line. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` } // IndicatorGauge The gauge of the Indicator plot. @@ -704,7 +704,7 @@ type IndicatorGauge struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the gauge. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Shape // arrayOK: false @@ -737,13 +737,13 @@ type IndicatorLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorLegendgrouptitle @@ -758,7 +758,7 @@ type IndicatorLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorNumberFont Set the font used to display main number @@ -774,13 +774,13 @@ type IndicatorNumberFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorNumber @@ -795,19 +795,19 @@ type IndicatorNumber struct { // arrayOK: false // type: string // Sets a prefix appearing before the number. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the number. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorStream @@ -817,13 +817,13 @@ type IndicatorStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IndicatorTitleFont Set the font used to display the title @@ -839,13 +839,13 @@ type IndicatorTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorTitle @@ -867,7 +867,7 @@ type IndicatorTitle struct { // arrayOK: false // type: string // Sets the title of this indicator. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorTransform 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. diff --git a/generated/v2.19.0/graph_objects/isosurface_gen.go b/generated/v2.19.0/graph_objects/isosurface_gen.go index cef6358..2381a44 100644 --- a/generated/v2.19.0/graph_objects/isosurface_gen.go +++ b/generated/v2.19.0/graph_objects/isosurface_gen.go @@ -32,7 +32,7 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Isosurface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,25 +159,25 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -188,13 +188,13 @@ type Isosurface struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -216,43 +216,43 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -278,19 +278,19 @@ type Isosurface struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -310,13 +310,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -337,13 +337,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -357,13 +357,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -377,13 +377,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // IsosurfaceCapsX @@ -393,13 +393,13 @@ type IsosurfaceCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsY @@ -409,13 +409,13 @@ type IsosurfaceCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsZ @@ -425,13 +425,13 @@ type IsosurfaceCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCaps @@ -466,13 +466,13 @@ type IsosurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceColorbarTickformatstop @@ -488,25 +488,25 @@ type IsosurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IsosurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -522,13 +522,13 @@ type IsosurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceColorbarTitle @@ -550,7 +550,7 @@ type IsosurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceColorbar @@ -572,7 +572,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -597,7 +597,7 @@ type IsosurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -610,13 +610,13 @@ type IsosurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -635,13 +635,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -654,7 +654,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -674,7 +674,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -693,7 +693,7 @@ type IsosurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -710,7 +710,7 @@ type IsosurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -735,13 +735,13 @@ type IsosurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -754,7 +754,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -767,7 +767,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -781,7 +781,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -795,13 +795,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -812,7 +812,7 @@ type IsosurfaceColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -825,13 +825,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -844,7 +844,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // IsosurfaceContour @@ -860,13 +860,13 @@ type IsosurfaceContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IsosurfaceHoverlabelFont Sets the font used in hover labels. @@ -882,31 +882,31 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IsosurfaceHoverlabel @@ -923,7 +923,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -935,7 +935,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -947,7 +947,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -958,13 +958,13 @@ type IsosurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IsosurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -980,13 +980,13 @@ type IsosurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceLegendgrouptitle @@ -1001,7 +1001,7 @@ type IsosurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceLighting @@ -1011,43 +1011,43 @@ type IsosurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // IsosurfaceLightposition @@ -1057,19 +1057,19 @@ type IsosurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // IsosurfaceSlicesX @@ -1079,7 +1079,7 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1093,13 +1093,13 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesY @@ -1109,7 +1109,7 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1123,13 +1123,13 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesZ @@ -1139,7 +1139,7 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1153,13 +1153,13 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlices @@ -1188,13 +1188,13 @@ type IsosurfaceSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 0.15 meaning that only 15% of the area of every faces of tetras would be shaded. Applying a greater `fill` ratio would allow the creation of stronger elements or could be sued to have entirely closed areas (in case of using 1). - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceStream @@ -1204,13 +1204,13 @@ type IsosurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IsosurfaceSurface @@ -1220,13 +1220,13 @@ type IsosurfaceSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1239,7 +1239,7 @@ type IsosurfaceSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceColorbarExponentformat 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. diff --git a/generated/v2.19.0/graph_objects/layout_gen.go b/generated/v2.19.0/graph_objects/layout_gen.go index d70ca14..3a5bf58 100644 --- a/generated/v2.19.0/graph_objects/layout_gen.go +++ b/generated/v2.19.0/graph_objects/layout_gen.go @@ -28,7 +28,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout. Note that, regardless of this attribute, an undefined layout width or height is always initialized on the first call to plot. - Autosize types.Bool `json:"autosize,omitempty"` + Autosize types.BoolType `json:"autosize,omitempty"` // Autotypenumbers // arrayOK: false @@ -41,13 +41,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Bargap float64 `json:"bargap,omitempty"` + Bargap types.NumberType `json:"bargap,omitempty"` // Bargroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Bargroupgap float64 `json:"bargroupgap,omitempty"` + Bargroupgap types.NumberType `json:"bargroupgap,omitempty"` // Barmode // arrayOK: false @@ -67,13 +67,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of adjacent location coordinates. Has no effect on traces that have *width* set. - Boxgap float64 `json:"boxgap,omitempty"` + Boxgap types.NumberType `json:"boxgap,omitempty"` // Boxgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of the same location coordinate. Has no effect on traces that have *width* set. - Boxgroupgap float64 `json:"boxgroupgap,omitempty"` + Boxgroupgap types.NumberType `json:"boxgroupgap,omitempty"` // Boxmode // arrayOK: false @@ -141,31 +141,31 @@ type Layout struct { // arrayOK: false // type: boolean // If `true`, the funnelarea slice colors (whether given by `funnelareacolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendfunnelareacolors types.Bool `json:"extendfunnelareacolors,omitempty"` + Extendfunnelareacolors types.BoolType `json:"extendfunnelareacolors,omitempty"` // Extendiciclecolors // arrayOK: false // type: boolean // If `true`, the icicle slice colors (whether given by `iciclecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendiciclecolors types.Bool `json:"extendiciclecolors,omitempty"` + Extendiciclecolors types.BoolType `json:"extendiciclecolors,omitempty"` // Extendpiecolors // arrayOK: false // type: boolean // If `true`, the pie slice colors (whether given by `piecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendpiecolors types.Bool `json:"extendpiecolors,omitempty"` + Extendpiecolors types.BoolType `json:"extendpiecolors,omitempty"` // Extendsunburstcolors // arrayOK: false // type: boolean // If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendsunburstcolors types.Bool `json:"extendsunburstcolors,omitempty"` + Extendsunburstcolors types.BoolType `json:"extendsunburstcolors,omitempty"` // Extendtreemapcolors // arrayOK: false // type: boolean // If `true`, the treemap slice colors (whether given by `treemapcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendtreemapcolors types.Bool `json:"extendtreemapcolors,omitempty"` + Extendtreemapcolors types.BoolType `json:"extendtreemapcolors,omitempty"` // Font // arrayOK: false @@ -182,13 +182,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Funnelgap float64 `json:"funnelgap,omitempty"` + Funnelgap types.NumberType `json:"funnelgap,omitempty"` // Funnelgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Funnelgroupgap float64 `json:"funnelgroupgap,omitempty"` + Funnelgroupgap types.NumberType `json:"funnelgroupgap,omitempty"` // Funnelmode // arrayOK: false @@ -211,7 +211,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's height (in px). - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hiddenlabels // arrayOK: false @@ -225,19 +225,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hiddenlabels`. - Hiddenlabelssrc types.String `json:"hiddenlabelssrc,omitempty"` + Hiddenlabelssrc types.StringType `json:"hiddenlabelssrc,omitempty"` // Hidesources // arrayOK: false // type: boolean // Determines whether or not a text link citing the data source is placed at the bottom-right cored of the figure. Has only an effect only on graphs that have been generated via forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise). - Hidesources types.Bool `json:"hidesources,omitempty"` + Hidesources types.BoolType `json:"hidesources,omitempty"` // Hoverdistance // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict. - Hoverdistance int64 `json:"hoverdistance,omitempty"` + Hoverdistance types.IntegerType `json:"hoverdistance,omitempty"` // Hoverlabel // arrayOK: false @@ -287,19 +287,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Minreducedheight // arrayOK: false // type: number // Minimum height of the plot with margin.automargin applied (in px) - Minreducedheight float64 `json:"minreducedheight,omitempty"` + Minreducedheight types.NumberType `json:"minreducedheight,omitempty"` // Minreducedwidth // arrayOK: false // type: number // Minimum width of the plot with margin.automargin applied (in px) - Minreducedwidth float64 `json:"minreducedwidth,omitempty"` + Minreducedwidth types.NumberType `json:"minreducedwidth,omitempty"` // Modebar // arrayOK: false @@ -343,7 +343,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between scatter points of adjacent location coordinates. Defaults to `bargap`. - Scattergap float64 `json:"scattergap,omitempty"` + Scattergap types.NumberType `json:"scattergap,omitempty"` // Scattermode // arrayOK: false @@ -379,7 +379,7 @@ type Layout struct { // arrayOK: false // type: string // Sets the decimal and thousand separators. For example, *. * puts a '.' before decimals and a space between thousands. In English locales, dflt is *.,* but other locales may alter this default. - Separators types.String `json:"separators,omitempty"` + Separators types.StringType `json:"separators,omitempty"` // Shapes // role: Object @@ -390,7 +390,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a legend is drawn. Default is `true` if there is a trace to show and any of these: a) Two or more traces would by default be shown in the legend. b) One pie trace is shown in the legend. c) One trace is explicitly given with `showlegend: true`. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sliders // role: Object @@ -406,7 +406,7 @@ type Layout struct { // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills. - Spikedistance int64 `json:"spikedistance,omitempty"` + Spikedistance types.IntegerType `json:"spikedistance,omitempty"` // Sunburstcolorway // arrayOK: false @@ -461,13 +461,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of adjacent location coordinates. Has no effect on traces that have *width* set. - Violingap float64 `json:"violingap,omitempty"` + Violingap types.NumberType `json:"violingap,omitempty"` // Violingroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of the same location coordinate. Has no effect on traces that have *width* set. - Violingroupgap float64 `json:"violingroupgap,omitempty"` + Violingroupgap types.NumberType `json:"violingroupgap,omitempty"` // Violinmode // arrayOK: false @@ -480,13 +480,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Waterfallgap float64 `json:"waterfallgap,omitempty"` + Waterfallgap types.NumberType `json:"waterfallgap,omitempty"` // Waterfallgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Waterfallgroupgap float64 `json:"waterfallgroupgap,omitempty"` + Waterfallgroupgap types.NumberType `json:"waterfallgroupgap,omitempty"` // Waterfallmode // arrayOK: false @@ -499,7 +499,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // Xaxis // arrayOK: false @@ -565,7 +565,7 @@ type LayoutActiveselection struct { // arrayOK: false // type: number // Sets the opacity of the active selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // LayoutActiveshape @@ -581,7 +581,7 @@ type LayoutActiveshape struct { // arrayOK: false // type: number // Sets the opacity of the active shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // AnnotationFont Sets the annotation text font. @@ -597,13 +597,13 @@ type AnnotationFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // AnnotationHoverlabelFont Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`. @@ -619,13 +619,13 @@ type AnnotationHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // AnnotationHoverlabel @@ -669,7 +669,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -682,13 +682,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false @@ -732,19 +732,19 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Clicktoshow // arrayOK: false @@ -762,7 +762,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -773,67 +773,67 @@ type LayoutAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -846,13 +846,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -884,7 +884,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -916,7 +916,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` } // LayoutColoraxisColorbarTickfont Sets the color bar's tick label font @@ -932,13 +932,13 @@ type LayoutColoraxisColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutColoraxisColorbarTickformatstop @@ -954,25 +954,25 @@ type LayoutColoraxisColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutColoraxisColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -988,13 +988,13 @@ type LayoutColoraxisColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutColoraxisColorbarTitle @@ -1016,7 +1016,7 @@ type LayoutColoraxisColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutColoraxisColorbar @@ -1038,7 +1038,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1063,7 +1063,7 @@ type LayoutColoraxisColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1076,13 +1076,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1101,13 +1101,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1120,7 +1120,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1140,7 +1140,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1159,7 +1159,7 @@ type LayoutColoraxisColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1176,7 +1176,7 @@ type LayoutColoraxisColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1201,13 +1201,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1220,7 +1220,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1233,7 +1233,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1247,7 +1247,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1261,13 +1261,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1278,7 +1278,7 @@ type LayoutColoraxisColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1291,13 +1291,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1310,7 +1310,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // LayoutColoraxis @@ -1320,31 +1320,31 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 corresponding trace color array(s)) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as corresponding trace color array(s). Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorbar // arrayOK: false @@ -1361,13 +1361,13 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // LayoutColorscale @@ -1405,13 +1405,13 @@ type LayoutFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutGeoCenter @@ -1421,13 +1421,13 @@ type LayoutGeoCenter struct { // arrayOK: false // type: number // Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default. - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutGeoDomain @@ -1437,13 +1437,13 @@ type LayoutGeoDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Column int64 `json:"column,omitempty"` + 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 geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -1465,7 +1465,7 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1477,13 +1477,13 @@ type LayoutGeoLataxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1495,13 +1495,13 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoLonaxis @@ -1511,7 +1511,7 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1523,13 +1523,13 @@ type LayoutGeoLonaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1541,13 +1541,13 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoProjectionRotation @@ -1557,19 +1557,19 @@ type LayoutGeoProjectionRotation struct { // arrayOK: false // type: number // Rotates the map along meridians (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Rotates the map along parallels (in degrees East). Defaults to the center of the `lonaxis.range` values. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` // Roll // arrayOK: false // type: number // Roll the map (in degrees) For example, a roll of *180* makes the map appear upside down. - Roll float64 `json:"roll,omitempty"` + Roll types.NumberType `json:"roll,omitempty"` } // LayoutGeoProjection @@ -1579,7 +1579,7 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // For satellite projection type only. Sets the distance from the center of the sphere to the point of view as a proportion of the sphere’s radius. - Distance float64 `json:"distance,omitempty"` + Distance types.NumberType `json:"distance,omitempty"` // Parallels // arrayOK: false @@ -1596,13 +1596,13 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // Zooms in or out on the map view. A scale of *1* corresponds to the largest zoom level that fits the map's lon and lat ranges. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Tilt // arrayOK: false // type: number // For satellite projection type only. Sets the tilt angle of perspective projection. - Tilt float64 `json:"tilt,omitempty"` + Tilt types.NumberType `json:"tilt,omitempty"` // Type // arrayOK: false @@ -1636,7 +1636,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the coastline stroke width (in px). - Coastlinewidth float64 `json:"coastlinewidth,omitempty"` + Coastlinewidth types.NumberType `json:"coastlinewidth,omitempty"` // Countrycolor // arrayOK: false @@ -1648,7 +1648,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets line width (in px) of the country boundaries. - Countrywidth float64 `json:"countrywidth,omitempty"` + Countrywidth types.NumberType `json:"countrywidth,omitempty"` // Domain // arrayOK: false @@ -1672,7 +1672,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the frame. - Framewidth float64 `json:"framewidth,omitempty"` + Framewidth types.NumberType `json:"framewidth,omitempty"` // Lakecolor // arrayOK: false @@ -1724,7 +1724,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the rivers. - Riverwidth float64 `json:"riverwidth,omitempty"` + Riverwidth types.NumberType `json:"riverwidth,omitempty"` // Scope // arrayOK: false @@ -1737,49 +1737,49 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets whether or not the coastlines are drawn. - Showcoastlines types.Bool `json:"showcoastlines,omitempty"` + Showcoastlines types.BoolType `json:"showcoastlines,omitempty"` // Showcountries // arrayOK: false // type: boolean // Sets whether or not country boundaries are drawn. - Showcountries types.Bool `json:"showcountries,omitempty"` + Showcountries types.BoolType `json:"showcountries,omitempty"` // Showframe // arrayOK: false // type: boolean // Sets whether or not a frame is drawn around the map. - Showframe types.Bool `json:"showframe,omitempty"` + Showframe types.BoolType `json:"showframe,omitempty"` // Showlakes // arrayOK: false // type: boolean // Sets whether or not lakes are drawn. - Showlakes types.Bool `json:"showlakes,omitempty"` + Showlakes types.BoolType `json:"showlakes,omitempty"` // Showland // arrayOK: false // type: boolean // Sets whether or not land masses are filled in color. - Showland types.Bool `json:"showland,omitempty"` + Showland types.BoolType `json:"showland,omitempty"` // Showocean // arrayOK: false // type: boolean // Sets whether or not oceans are filled in color. - Showocean types.Bool `json:"showocean,omitempty"` + Showocean types.BoolType `json:"showocean,omitempty"` // Showrivers // arrayOK: false // type: boolean // Sets whether or not rivers are drawn. - Showrivers types.Bool `json:"showrivers,omitempty"` + Showrivers types.BoolType `json:"showrivers,omitempty"` // Showsubunits // arrayOK: false // type: boolean // Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. - Showsubunits types.Bool `json:"showsubunits,omitempty"` + Showsubunits types.BoolType `json:"showsubunits,omitempty"` // Subunitcolor // arrayOK: false @@ -1791,7 +1791,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the subunits boundaries. - Subunitwidth float64 `json:"subunitwidth,omitempty"` + Subunitwidth types.NumberType `json:"subunitwidth,omitempty"` // Uirevision // arrayOK: false @@ -1803,7 +1803,7 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets the default visibility of the base layers. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutGridDomain @@ -1829,7 +1829,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of columns in the grid. If you provide a 2D `subplots` array, the length of its longest row is used as the default. If you give an `xaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Columns int64 `json:"columns,omitempty"` + Columns types.IntegerType `json:"columns,omitempty"` // Domain // arrayOK: false @@ -1854,7 +1854,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of rows in the grid. If you provide a 2D `subplots` array or a `yaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Rows int64 `json:"rows,omitempty"` + Rows types.IntegerType `json:"rows,omitempty"` // Subplots // arrayOK: false @@ -1872,7 +1872,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Horizontal space between grid cells, expressed as a fraction of the total width available to one cell. Defaults to 0.1 for coupled-axes grids and 0.2 for independent grids. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xside // arrayOK: false @@ -1891,7 +1891,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Vertical space between grid cells, expressed as a fraction of the total height available to one cell. Defaults to 0.1 for coupled-axes grids and 0.3 for independent grids. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yside // arrayOK: false @@ -1914,13 +1914,13 @@ type LayoutHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutHoverlabelGrouptitlefont Sets the font for group titles in hover (unified modes). Defaults to `hoverlabel.font`. @@ -1936,13 +1936,13 @@ type LayoutHoverlabelGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutHoverlabel @@ -1981,7 +1981,7 @@ type LayoutHoverlabel struct { // arrayOK: false // 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. - Namelength int64 `json:"namelength,omitempty"` + Namelength types.IntegerType `json:"namelength,omitempty"` } // LayoutImage @@ -1998,25 +1998,25 @@ type LayoutImage struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the image. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizex // arrayOK: false // type: number // Sets the image container size horizontally. The image will be sized based on the `position` value. When `xref` is set to `paper`, units are sized relative to the plot width. When `xref` ends with ` domain`, units are sized relative to the axis width. - Sizex float64 `json:"sizex,omitempty"` + Sizex types.NumberType `json:"sizex,omitempty"` // Sizey // arrayOK: false // type: number // Sets the image container size vertically. The image will be sized based on the `position` value. When `yref` is set to `paper`, units are sized relative to the plot height. When `yref` ends with ` domain`, units are sized relative to the axis height. - Sizey float64 `json:"sizey,omitempty"` + Sizey types.NumberType `json:"sizey,omitempty"` // Sizing // arrayOK: false @@ -2029,19 +2029,19 @@ type LayoutImage struct { // arrayOK: false // type: string // Specifies the URL of the image to be used. The URL must be accessible from the domain where the plot code is run, and can be either relative or absolute. - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this image is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false @@ -2097,13 +2097,13 @@ type LayoutLegendFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendGrouptitlefont Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%. @@ -2119,13 +2119,13 @@ type LayoutLegendGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendTitleFont Sets this legend's title font. Defaults to `legend.font` with its size increased about 20%. @@ -2141,13 +2141,13 @@ type LayoutLegendTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendTitle @@ -2169,7 +2169,7 @@ type LayoutLegendTitle struct { // arrayOK: false // type: string // Sets the title of the legend. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutLegend @@ -2191,13 +2191,13 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the legend. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Entrywidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to *pixels*. - Entrywidth float64 `json:"entrywidth,omitempty"` + Entrywidth types.NumberType `json:"entrywidth,omitempty"` // Entrywidthmode // arrayOK: false @@ -2248,7 +2248,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the legend item symbols (the part other than the title.text). - Itemwidth float64 `json:"itemwidth,omitempty"` + Itemwidth types.NumberType `json:"itemwidth,omitempty"` // Orientation // arrayOK: false @@ -2266,7 +2266,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the amount of vertical space (in px) between legend groups. - Tracegroupgap float64 `json:"tracegroupgap,omitempty"` + Tracegroupgap types.NumberType `json:"tracegroupgap,omitempty"` // Traceorder // arrayOK: false @@ -2292,7 +2292,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the legend. Defaults to *1.02* for vertical legends and defaults to *0* for horizontal legends. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -2305,7 +2305,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the legend. Defaults to *1* for vertical legends, defaults to *-0.1* for horizontal legends on graphs w/o range sliders and defaults to *1.1* for horizontal legends on graph with one or multiple range sliders. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -2322,25 +2322,25 @@ type LayoutMapboxBounds struct { // arrayOK: false // type: number // Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared. - East float64 `json:"east,omitempty"` + East types.NumberType `json:"east,omitempty"` // North // arrayOK: false // type: number // Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared. - North float64 `json:"north,omitempty"` + North types.NumberType `json:"north,omitempty"` // South // arrayOK: false // type: number // Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared. - South float64 `json:"south,omitempty"` + South types.NumberType `json:"south,omitempty"` // West // arrayOK: false // type: number // Sets the minimum longitude of the map (in degrees East) if `east`, `south` and `north` are declared. - West float64 `json:"west,omitempty"` + West types.NumberType `json:"west,omitempty"` } // LayoutMapboxCenter @@ -2350,13 +2350,13 @@ type LayoutMapboxCenter struct { // arrayOK: false // type: number // Sets the latitude of the center of the map (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the center of the map (in degrees East). - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutMapboxDomain @@ -2366,13 +2366,13 @@ type LayoutMapboxDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this mapbox subplot . - Column int64 `json:"column,omitempty"` + 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 mapbox subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -2394,7 +2394,7 @@ type LayerCircle struct { // arrayOK: false // type: number // Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*. - Radius float64 `json:"radius,omitempty"` + Radius types.NumberType `json:"radius,omitempty"` } // LayerFill @@ -2422,13 +2422,13 @@ type LayerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `dash`. - Dashsrc types.String `json:"dashsrc,omitempty"` + Dashsrc types.StringType `json:"dashsrc,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (mapbox.layer.paint.line-width). Has an effect only when `type` is set to *line*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayerSymbolTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -2444,13 +2444,13 @@ type LayerSymbolTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayerSymbol @@ -2460,13 +2460,13 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol icon image (mapbox.layer.layout.icon-image). Full list: https://www.mapbox.com/maki-icons/ - Icon types.String `json:"icon,omitempty"` + Icon types.StringType `json:"icon,omitempty"` // Iconsize // arrayOK: false // type: number // Sets the symbol icon size (mapbox.layer.layout.icon-size). Has an effect only when `type` is set to *symbol*. - Iconsize float64 `json:"iconsize,omitempty"` + Iconsize types.NumberType `json:"iconsize,omitempty"` // Placement // arrayOK: false @@ -2479,7 +2479,7 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol text (mapbox.layer.layout.text-field). - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textfont // arrayOK: false @@ -2501,7 +2501,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Determines if the layer will be inserted before the layer with the specified ID. If omitted or set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Circle // arrayOK: false @@ -2534,25 +2534,25 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: number // Sets the maximum zoom level (mapbox.layer.maxzoom). At zoom levels equal to or greater than the maxzoom, the layer will be hidden. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Minzoom // arrayOK: false // type: number // Sets the minimum zoom level (mapbox.layer.minzoom). At zoom levels less than the minzoom, the layer will be hidden. - Minzoom float64 `json:"minzoom,omitempty"` + Minzoom types.NumberType `json:"minzoom,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the layer. If `type` is *circle*, opacity corresponds to the circle opacity (mapbox.layer.paint.circle-opacity) If `type` is *line*, opacity corresponds to the line opacity (mapbox.layer.paint.line-opacity) If `type` is *fill*, opacity corresponds to the fill opacity (mapbox.layer.paint.fill-opacity) If `type` is *symbol*, opacity corresponds to the icon/text opacity (mapbox.layer.paint.text-opacity) - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false @@ -2564,13 +2564,13 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Sets the attribution for this source. - Sourceattribution types.String `json:"sourceattribution,omitempty"` + Sourceattribution types.StringType `json:"sourceattribution,omitempty"` // Sourcelayer // arrayOK: false // type: string // Specifies the layer to use from a vector tile source (mapbox.layer.source-layer). Required for *vector* source type that supports multiple layers. - Sourcelayer types.String `json:"sourcelayer,omitempty"` + Sourcelayer types.StringType `json:"sourcelayer,omitempty"` // Sourcetype // arrayOK: false @@ -2588,7 +2588,7 @@ type LayoutMapboxLayer struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -2601,7 +2601,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: boolean // Determines whether this layer is displayed - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutMapbox @@ -2611,13 +2611,13 @@ type LayoutMapbox struct { // arrayOK: false // type: string // Sets the mapbox access token to be used for this mapbox map. Alternatively, the mapbox access token can be set in the configuration options under `mapboxAccessToken`. Note that accessToken are only required when `style` (e.g with values : basic, streets, outdoors, light, dark, satellite, satellite-streets ) and/or a layout layer references the Mapbox server. - Accesstoken types.String `json:"accesstoken,omitempty"` + Accesstoken types.StringType `json:"accesstoken,omitempty"` // Bearing // arrayOK: false // type: number // Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing). - Bearing float64 `json:"bearing,omitempty"` + Bearing types.NumberType `json:"bearing,omitempty"` // Bounds // arrayOK: false @@ -2643,7 +2643,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the pitch angle of the map (in degrees, where *0* means perpendicular to the surface of the map) (mapbox.pitch). - Pitch float64 `json:"pitch,omitempty"` + Pitch types.NumberType `json:"pitch,omitempty"` // Style // arrayOK: false @@ -2661,7 +2661,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the zoom level of the map (mapbox.zoom). - Zoom float64 `json:"zoom,omitempty"` + Zoom types.NumberType `json:"zoom,omitempty"` } // LayoutMargin @@ -2671,37 +2671,37 @@ type LayoutMargin struct { // arrayOK: false // type: boolean // Turns on/off margin expansion computations. Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider are allowed to push the margins by defaults. - Autoexpand types.Bool `json:"autoexpand,omitempty"` + Autoexpand types.BoolType `json:"autoexpand,omitempty"` // B // arrayOK: false // type: number // Sets the bottom margin (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the left margin (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // Pad // arrayOK: false // type: number // Sets the amount of padding (in px) between the plotting area and the axis lines - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // R // arrayOK: false // type: number // Sets the right margin (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the top margin (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutModebar @@ -2717,13 +2717,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to add. Please note that these buttons will only be shown if they are compatible with all trace types used in a graph. Similar to `config.modeBarButtonsToAdd` option. This may include *v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*, *drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect*, *eraseshape*. - Add *types.ArrayOK[*types.String] `json:"add,omitempty"` + Add *types.ArrayOK[*types.StringType] `json:"add,omitempty"` // Addsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `add`. - Addsrc types.String `json:"addsrc,omitempty"` + Addsrc types.StringType `json:"addsrc,omitempty"` // Bgcolor // arrayOK: false @@ -2748,13 +2748,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to remove. Similar to `config.modeBarButtonsToRemove` option. This may include *autoScale2d*, *autoscale*, *editInChartStudio*, *editinchartstudio*, *hoverCompareCartesian*, *hovercompare*, *lasso*, *lasso2d*, *orbitRotation*, *orbitrotation*, *pan*, *pan2d*, *pan3d*, *reset*, *resetCameraDefault3d*, *resetCameraLastSave3d*, *resetGeo*, *resetSankeyGroup*, *resetScale2d*, *resetViewMapbox*, *resetViews*, *resetcameradefault*, *resetcameralastsave*, *resetsankeygroup*, *resetscale*, *resetview*, *resetviews*, *select*, *select2d*, *sendDataToCloud*, *senddatatocloud*, *tableRotation*, *tablerotation*, *toImage*, *toggleHover*, *toggleSpikelines*, *togglehover*, *togglespikelines*, *toimage*, *zoom*, *zoom2d*, *zoom3d*, *zoomIn2d*, *zoomInGeo*, *zoomInMapbox*, *zoomOut2d*, *zoomOutGeo*, *zoomOutMapbox*, *zoomin*, *zoomout*. - Remove *types.ArrayOK[*types.String] `json:"remove,omitempty"` + Remove *types.ArrayOK[*types.StringType] `json:"remove,omitempty"` // Removesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `remove`. - Removesrc types.String `json:"removesrc,omitempty"` + Removesrc types.StringType `json:"removesrc,omitempty"` // Uirevision // arrayOK: false @@ -2776,13 +2776,13 @@ type LayoutNewselectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewselection @@ -2814,13 +2814,13 @@ type LayoutNewshapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutNewshapeLabel @@ -2835,19 +2835,19 @@ type LayoutNewshapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of new shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with the new shape. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -2884,13 +2884,13 @@ type LayoutNewshapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewshape @@ -2937,7 +2937,7 @@ type LayoutNewshape struct { // arrayOK: false // type: number // Sets the opacity of new shapes. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // LayoutPolarAngularaxisTickfont Sets the tick font. @@ -2953,13 +2953,13 @@ type LayoutPolarAngularaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarAngularaxisTickformatstop @@ -2975,25 +2975,25 @@ type LayoutPolarAngularaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarAngularaxis @@ -3018,7 +3018,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -3063,19 +3063,19 @@ type LayoutPolarAngularaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -3100,37 +3100,37 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Period // arrayOK: false // type: number // Set the angular period. Has an effect only when `angularaxis.type` is *category*. - Period float64 `json:"period,omitempty"` + Period types.NumberType `json:"period,omitempty"` // Rotation // arrayOK: false // type: angle // Sets that start position (in degrees) of the angular axis By default, polar subplots with `direction` set to *counterclockwise* get a `rotation` of *0* which corresponds to due East (like what mathematicians prefer). In turn, polar with `direction` set to *clockwise* get a rotation of *90* which corresponds to due North (like on a compass), - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -3143,19 +3143,19 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -3188,7 +3188,7 @@ type LayoutPolarAngularaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -3205,7 +3205,7 @@ type LayoutPolarAngularaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -3216,13 +3216,13 @@ type LayoutPolarAngularaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -3235,7 +3235,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -3248,7 +3248,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -3262,7 +3262,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -3276,13 +3276,13 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Type // arrayOK: false @@ -3301,7 +3301,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolarDomain @@ -3311,13 +3311,13 @@ type LayoutPolarDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this polar subplot . - Column int64 `json:"column,omitempty"` + 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 polar subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -3345,13 +3345,13 @@ type LayoutPolarRadialaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarRadialaxisTickformatstop @@ -3367,25 +3367,25 @@ type LayoutPolarRadialaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarRadialaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -3401,13 +3401,13 @@ type LayoutPolarRadialaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarRadialaxisTitle @@ -3422,7 +3422,7 @@ type LayoutPolarRadialaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutPolarRadialaxis @@ -3432,7 +3432,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: angle // Sets the angle (in degrees) from which the radial axis is drawn. Note that by default, radial axis line on the theta=0 line corresponds to a line pointing right (like what mathematicians prefer). Defaults to the first `polar.sector` angle. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Autorange // arrayOK: false @@ -3467,7 +3467,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -3505,19 +3505,19 @@ type LayoutPolarRadialaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -3542,19 +3542,19 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -3573,7 +3573,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -3586,19 +3586,19 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -3631,7 +3631,7 @@ type LayoutPolarRadialaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -3648,7 +3648,7 @@ type LayoutPolarRadialaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -3659,13 +3659,13 @@ type LayoutPolarRadialaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -3678,7 +3678,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -3691,7 +3691,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -3705,7 +3705,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -3719,13 +3719,13 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -3749,7 +3749,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolar @@ -3782,7 +3782,7 @@ type LayoutPolar struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the polar subplot. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Radialaxis // arrayOK: false @@ -3822,7 +3822,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -3835,25 +3835,25 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false // type: number // Sets the x component of the arrow tail about the arrow head (in pixels). - Ax float64 `json:"ax,omitempty"` + Ax types.NumberType `json:"ax,omitempty"` // Ay // arrayOK: false // type: number // Sets the y component of the arrow tail about the arrow head (in pixels). - Ay float64 `json:"ay,omitempty"` + Ay types.NumberType `json:"ay,omitempty"` // Bgcolor // arrayOK: false @@ -3871,19 +3871,19 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Font // arrayOK: false @@ -3894,7 +3894,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -3905,67 +3905,67 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -3978,13 +3978,13 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -4003,7 +4003,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -4022,7 +4022,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` // Z // arrayOK: false @@ -4038,19 +4038,19 @@ type LayoutSceneAspectratio struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraCenter Sets the (x,y,z) components of the 'center' camera vector This vector determines the translation (x,y,z) space about the center of this scene. By default, there is no such translation. @@ -4060,19 +4060,19 @@ type LayoutSceneCameraCenter struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraEye Sets the (x,y,z) components of the 'eye' camera vector. This vector determines the view point about the origin of this scene. @@ -4082,19 +4082,19 @@ type LayoutSceneCameraEye struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraProjection @@ -4115,19 +4115,19 @@ type LayoutSceneCameraUp struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCamera @@ -4161,13 +4161,13 @@ type LayoutSceneDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this scene subplot . - Column int64 `json:"column,omitempty"` + 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 scene subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -4195,13 +4195,13 @@ type LayoutSceneXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneXaxisTickformatstop @@ -4217,25 +4217,25 @@ type LayoutSceneXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -4251,13 +4251,13 @@ type LayoutSceneXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneXaxisTitle @@ -4272,7 +4272,7 @@ type LayoutSceneXaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneXaxis @@ -4317,7 +4317,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -4355,13 +4355,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -4379,13 +4379,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -4398,7 +4398,7 @@ type LayoutSceneXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -4417,19 +4417,19 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -4442,25 +4442,25 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -4486,13 +4486,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -4504,7 +4504,7 @@ type LayoutSceneXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -4521,7 +4521,7 @@ type LayoutSceneXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -4532,7 +4532,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -4545,7 +4545,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -4558,7 +4558,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -4572,7 +4572,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -4586,13 +4586,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -4610,13 +4610,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -4628,7 +4628,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneYaxisTickfont Sets the tick font. @@ -4644,13 +4644,13 @@ type LayoutSceneYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneYaxisTickformatstop @@ -4666,25 +4666,25 @@ type LayoutSceneYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -4700,13 +4700,13 @@ type LayoutSceneYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneYaxisTitle @@ -4721,7 +4721,7 @@ type LayoutSceneYaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneYaxis @@ -4766,7 +4766,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -4804,13 +4804,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -4828,13 +4828,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -4847,7 +4847,7 @@ type LayoutSceneYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -4866,19 +4866,19 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -4891,25 +4891,25 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -4935,13 +4935,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -4953,7 +4953,7 @@ type LayoutSceneYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -4970,7 +4970,7 @@ type LayoutSceneYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -4981,7 +4981,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -4994,7 +4994,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -5007,7 +5007,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -5021,7 +5021,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -5035,13 +5035,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -5059,13 +5059,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -5077,7 +5077,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneZaxisTickfont Sets the tick font. @@ -5093,13 +5093,13 @@ type LayoutSceneZaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneZaxisTickformatstop @@ -5115,25 +5115,25 @@ type LayoutSceneZaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneZaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -5149,13 +5149,13 @@ type LayoutSceneZaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneZaxisTitle @@ -5170,7 +5170,7 @@ type LayoutSceneZaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneZaxis @@ -5215,7 +5215,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -5253,13 +5253,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -5277,13 +5277,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -5296,7 +5296,7 @@ type LayoutSceneZaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -5315,19 +5315,19 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -5340,25 +5340,25 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -5384,13 +5384,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -5402,7 +5402,7 @@ type LayoutSceneZaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -5419,7 +5419,7 @@ type LayoutSceneZaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -5430,7 +5430,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -5443,7 +5443,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -5456,7 +5456,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -5470,7 +5470,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -5484,13 +5484,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -5508,13 +5508,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -5526,7 +5526,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutScene @@ -5614,13 +5614,13 @@ type SelectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutSelection @@ -5635,25 +5635,25 @@ type LayoutSelection struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path similar to `shapes.path` in data coordinates. Allowed segments are: M, L and Z. - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -5714,13 +5714,13 @@ type ShapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ShapeLabel @@ -5735,19 +5735,19 @@ type ShapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with shape. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -5784,13 +5784,13 @@ type ShapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutShape @@ -5800,7 +5800,7 @@ type LayoutShape struct { // arrayOK: false // type: boolean // Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Fillcolor // arrayOK: false @@ -5836,25 +5836,25 @@ type LayoutShape struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path with the pixel values replaced by data values in `xsizemode`/`ysizemode` being *scaled* and taken unmodified as pixels relative to `xanchor` and `yanchor` in case of *pixel* size mode. There are a few restrictions / quirks only absolute instructions, not relative. So the allowed segments are: M, L, H, V, Q, C, T, S, and Z arcs (A) are not allowed because radius rx and ry are relative. In the future we could consider supporting relative commands, but we would have to decide on how to handle date and log axes. Note that even as is, Q and C Bezier paths that are smooth on linear axes may not be smooth on log, and vice versa. no chained "polybezier" commands - specify the segment type for each one. On category axes, values are numbers scaled to the serial numbers of categories because using the categories themselves there would be no way to describe fractional positions On data axes: because space and T are both normal components of path strings, we can't use either to separate date from time parts. Therefore we'll use underscore for this purpose: 2015-02-21_13:45:56.789 - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -5867,7 +5867,7 @@ type LayoutShape struct { // arrayOK: false // type: boolean // Determines whether or not this shape is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X0 // arrayOK: false @@ -5947,13 +5947,13 @@ type SliderCurrentvalueFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SliderCurrentvalue @@ -5968,25 +5968,25 @@ type SliderCurrentvalue struct { // arrayOK: false // type: number // The amount of space, in pixels, between the current value label and the slider. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Prefix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the prefix of the label. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the suffix of the label. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Visible // arrayOK: false // type: boolean // Shows the currently-selected value above the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Xanchor // arrayOK: false @@ -6009,13 +6009,13 @@ type SliderFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SliderPad Set the padding of the slider component along each side. @@ -6025,25 +6025,25 @@ type SliderPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // SliderStep @@ -6059,13 +6059,13 @@ type SliderStep struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_sliderchange` method and executing the API command manually without losing the benefit of the slider automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the slider - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -6078,25 +6078,25 @@ type SliderStep struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // Sets the value of the slider step, used to refer to the step programatically. Defaults to the slider label if not provided. - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this step is included in the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SliderTransition @@ -6106,7 +6106,7 @@ type SliderTransition struct { // arrayOK: false // type: number // Sets the duration of the slider transition - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -6123,7 +6123,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Determines which button (by index starting from 0) is considered active. - Active float64 `json:"active,omitempty"` + Active types.NumberType `json:"active,omitempty"` // Activebgcolor // arrayOK: false @@ -6147,7 +6147,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the slider. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Currentvalue // arrayOK: false @@ -6163,7 +6163,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length of the slider This measure excludes the padding of both ends. That is, the slider's length is this length minus the padding on both ends. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -6176,13 +6176,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of minor step tick marks - Minorticklen float64 `json:"minorticklen,omitempty"` + Minorticklen types.NumberType `json:"minorticklen,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -6198,7 +6198,7 @@ type LayoutSlider struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Tickcolor // arrayOK: false @@ -6210,13 +6210,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of step tick marks - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transition // arrayOK: false @@ -6227,13 +6227,13 @@ type LayoutSlider struct { // arrayOK: false // type: boolean // Determines whether or not the slider is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the slider. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -6246,7 +6246,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the slider. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -6263,13 +6263,13 @@ type LayoutSmithDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this smith subplot . - Column int64 `json:"column,omitempty"` + 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 smith subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -6297,13 +6297,13 @@ type LayoutSmithImaginaryaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSmithImaginaryaxis @@ -6325,19 +6325,19 @@ type LayoutSmithImaginaryaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -6362,25 +6362,25 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -6411,19 +6411,19 @@ type LayoutSmithImaginaryaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -6436,7 +6436,7 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -6450,19 +6450,19 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmithRealaxisTickfont Sets the tick font. @@ -6478,13 +6478,13 @@ type LayoutSmithRealaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSmithRealaxis @@ -6506,19 +6506,19 @@ type LayoutSmithRealaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -6543,25 +6543,25 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -6588,7 +6588,7 @@ type LayoutSmithRealaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -6605,19 +6605,19 @@ type LayoutSmithRealaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -6630,7 +6630,7 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -6644,19 +6644,19 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmith @@ -6697,13 +6697,13 @@ type LayoutTernaryAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryAaxisTickformatstop @@ -6719,25 +6719,25 @@ type LayoutTernaryAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryAaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -6753,13 +6753,13 @@ type LayoutTernaryAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryAaxisTitle @@ -6774,7 +6774,7 @@ type LayoutTernaryAaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryAaxis @@ -6809,19 +6809,19 @@ type LayoutTernaryAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -6846,31 +6846,31 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -6883,19 +6883,19 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -6921,7 +6921,7 @@ type LayoutTernaryAaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -6938,7 +6938,7 @@ type LayoutTernaryAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -6949,13 +6949,13 @@ type LayoutTernaryAaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -6968,7 +6968,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -6981,7 +6981,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -6995,7 +6995,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -7009,13 +7009,13 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -7042,13 +7042,13 @@ type LayoutTernaryBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryBaxisTickformatstop @@ -7064,25 +7064,25 @@ type LayoutTernaryBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryBaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7098,13 +7098,13 @@ type LayoutTernaryBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryBaxisTitle @@ -7119,7 +7119,7 @@ type LayoutTernaryBaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryBaxis @@ -7154,19 +7154,19 @@ type LayoutTernaryBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7191,31 +7191,31 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -7228,19 +7228,19 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7266,7 +7266,7 @@ type LayoutTernaryBaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7283,7 +7283,7 @@ type LayoutTernaryBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -7294,13 +7294,13 @@ type LayoutTernaryBaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -7313,7 +7313,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7326,7 +7326,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -7340,7 +7340,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -7354,13 +7354,13 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -7387,13 +7387,13 @@ type LayoutTernaryCaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryCaxisTickformatstop @@ -7409,25 +7409,25 @@ type LayoutTernaryCaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryCaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7443,13 +7443,13 @@ type LayoutTernaryCaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryCaxisTitle @@ -7464,7 +7464,7 @@ type LayoutTernaryCaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryCaxis @@ -7499,19 +7499,19 @@ type LayoutTernaryCaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7536,31 +7536,31 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -7573,19 +7573,19 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7611,7 +7611,7 @@ type LayoutTernaryCaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7628,7 +7628,7 @@ type LayoutTernaryCaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -7639,13 +7639,13 @@ type LayoutTernaryCaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -7658,7 +7658,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7671,7 +7671,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -7685,7 +7685,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -7699,13 +7699,13 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -7726,13 +7726,13 @@ type LayoutTernaryDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this ternary subplot . - Column int64 `json:"column,omitempty"` + 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 ternary subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -7780,7 +7780,7 @@ type LayoutTernary struct { // arrayOK: false // type: number // The number each triplet should sum to, and the maximum range of each axis - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Uirevision // arrayOK: false @@ -7802,13 +7802,13 @@ type LayoutTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTitlePad Sets the padding of the title. Each padding value only applies when the corresponding `xanchor`/`yanchor` value is set accordingly. E.g. for left padding to take effect, `xanchor` must be set to *left*. The same rule applies if `xanchor`/`yanchor` is determined automatically. Padding is muted if the respective anchor value is *middle*/*center*. @@ -7818,25 +7818,25 @@ type LayoutTitlePad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutTitle @@ -7856,13 +7856,13 @@ type LayoutTitle struct { // arrayOK: false // type: string // Sets the plot's title. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // X // arrayOK: false // type: number // Sets the x position with respect to `xref` in normalized coordinates from *0* (left) to *1* (right). - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -7882,7 +7882,7 @@ type LayoutTitle struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` in normalized coordinates from *0* (bottom) to *1* (top). *auto* places the baseline of the title onto the vertical center of the top margin. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -7906,7 +7906,7 @@ type LayoutTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -7930,7 +7930,7 @@ type LayoutUniformtext struct { // arrayOK: false // type: number // Sets the minimum text size between traces of the same type. - Minsize float64 `json:"minsize,omitempty"` + Minsize types.NumberType `json:"minsize,omitempty"` // Mode // arrayOK: false @@ -7959,13 +7959,13 @@ type UpdatemenuButton struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_buttonclicked` method and executing the API command manually without losing the benefit of the updatemenu automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -7978,19 +7978,19 @@ type UpdatemenuButton struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // UpdatemenuFont Sets the font of the update menu button text. @@ -8006,13 +8006,13 @@ type UpdatemenuFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // UpdatemenuPad Sets the padding around the buttons or dropdown menu. @@ -8022,25 +8022,25 @@ type UpdatemenuPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutUpdatemenu @@ -8050,7 +8050,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: integer // Determines which button (by index starting from 0) is considered active. - Active int64 `json:"active,omitempty"` + Active types.IntegerType `json:"active,omitempty"` // Bgcolor // arrayOK: false @@ -8068,7 +8068,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the update menu. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -8091,7 +8091,7 @@ type LayoutUpdatemenu struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -8102,13 +8102,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Highlights active dropdown item or active button if true. - Showactive types.Bool `json:"showactive,omitempty"` + Showactive types.BoolType `json:"showactive,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -8121,13 +8121,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Determines whether or not the update menu is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the update menu. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8140,7 +8140,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the update menu. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8169,25 +8169,25 @@ type LayoutXaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -8205,7 +8205,7 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -8233,13 +8233,13 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutXaxisRangebreak @@ -8255,19 +8255,19 @@ type LayoutXaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -8280,7 +8280,7 @@ type LayoutXaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -8296,19 +8296,19 @@ type LayoutXaxisRangeselectorButton struct { // arrayOK: false // type: number // Sets the number of steps to take to update the range. Use with `step` to specify the update interval. - Count float64 `json:"count,omitempty"` + Count types.NumberType `json:"count,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Step // arrayOK: false @@ -8328,13 +8328,13 @@ type LayoutXaxisRangeselectorButton struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutXaxisRangeselectorFont Sets the font of the range selector button text. @@ -8350,13 +8350,13 @@ type LayoutXaxisRangeselectorFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisRangeselector @@ -8384,7 +8384,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the range selector. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -8400,13 +8400,13 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: boolean // Determines whether or not this range selector is visible. Note that range selectors are only available for x axes of `type` set to or auto-typed to *date*. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the range selector. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8419,7 +8419,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the range selector. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8453,7 +8453,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: boolean // Determines whether or not the range slider range is computed in relation to the input data. If `range` is provided, then `autorange` is set to *false*. - Autorange types.Bool `json:"autorange,omitempty"` + Autorange types.BoolType `json:"autorange,omitempty"` // Bgcolor // arrayOK: false @@ -8471,7 +8471,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: integer // Sets the border width of the range slider. - Borderwidth int64 `json:"borderwidth,omitempty"` + Borderwidth types.IntegerType `json:"borderwidth,omitempty"` // Range // arrayOK: false @@ -8483,13 +8483,13 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: number // The height of the range slider as a fraction of the total plot area height. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not the range slider will be visible. If visible, perpendicular axes will be set to `fixedrange` - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Yaxis // arrayOK: false @@ -8510,13 +8510,13 @@ type LayoutXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisTickformatstop @@ -8532,25 +8532,25 @@ type LayoutXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -8566,13 +8566,13 @@ type LayoutXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisTitle @@ -8587,13 +8587,13 @@ type LayoutXaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutXaxis @@ -8646,7 +8646,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -8685,7 +8685,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -8710,7 +8710,7 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -8722,19 +8722,19 @@ type LayoutXaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -8759,7 +8759,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -8772,7 +8772,7 @@ type LayoutXaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -8790,7 +8790,7 @@ type LayoutXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -8803,7 +8803,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -8844,19 +8844,19 @@ type LayoutXaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -8869,25 +8869,25 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -8920,7 +8920,7 @@ type LayoutXaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -8940,7 +8940,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -8952,7 +8952,7 @@ type LayoutXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -8969,7 +8969,7 @@ type LayoutXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -9001,13 +9001,13 @@ type LayoutXaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9020,7 +9020,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -9040,7 +9040,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -9054,7 +9054,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -9068,13 +9068,13 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -9098,13 +9098,13 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -9116,7 +9116,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutYaxisMinor @@ -9138,25 +9138,25 @@ type LayoutYaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -9174,7 +9174,7 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9202,13 +9202,13 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutYaxisRangebreak @@ -9224,19 +9224,19 @@ type LayoutYaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -9249,7 +9249,7 @@ type LayoutYaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -9271,13 +9271,13 @@ type LayoutYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutYaxisTickformatstop @@ -9293,25 +9293,25 @@ type LayoutYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -9327,13 +9327,13 @@ type LayoutYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutYaxisTitle @@ -9348,13 +9348,13 @@ type LayoutYaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutYaxis @@ -9385,7 +9385,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Automatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to true. Only has an effect if `anchor` is set to *free*. - Autoshift types.Bool `json:"autoshift,omitempty"` + Autoshift types.BoolType `json:"autoshift,omitempty"` // Autotypenumbers // arrayOK: false @@ -9413,7 +9413,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -9452,7 +9452,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -9477,7 +9477,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -9489,19 +9489,19 @@ type LayoutYaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -9526,7 +9526,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -9539,7 +9539,7 @@ type LayoutYaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -9557,7 +9557,7 @@ type LayoutYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -9570,7 +9570,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -9601,25 +9601,25 @@ type LayoutYaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Shift // arrayOK: false // type: number // Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to *left*. and defaults to +3 if `side` is set to *right*. Defaults to 0 if `autoshift` is set to false. Only has an effect if `anchor` is set to *free*. - Shift float64 `json:"shift,omitempty"` + Shift types.NumberType `json:"shift,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -9632,25 +9632,25 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -9683,7 +9683,7 @@ type LayoutYaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -9703,7 +9703,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -9715,7 +9715,7 @@ type LayoutYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -9732,7 +9732,7 @@ type LayoutYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -9764,13 +9764,13 @@ type LayoutYaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9783,7 +9783,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -9803,7 +9803,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -9817,7 +9817,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -9831,13 +9831,13 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -9861,13 +9861,13 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -9879,7 +9879,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // AnnotationAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.19.0/graph_objects/mesh3d_gen.go b/generated/v2.19.0/graph_objects/mesh3d_gen.go index 7cabb68..ee50e9d 100644 --- a/generated/v2.19.0/graph_objects/mesh3d_gen.go +++ b/generated/v2.19.0/graph_objects/mesh3d_gen.go @@ -32,37 +32,37 @@ type Mesh3d struct { // arrayOK: false // type: number // Determines how the mesh surface triangles are derived from the set of vertices (points) represented by the `x`, `y` and `z` arrays, if the `i`, `j`, `k` arrays are not supplied. For general use of `mesh3d` it is preferred that `i`, `j`, `k` are supplied. If *-1*, Delaunay triangulation is used, which is mainly suitable if the mesh is a single, more or less layer surface that is perpendicular to `delaunayaxis`. In case the `delaunayaxis` intersects the mesh surface at more than one point it will result triangles that are very long in the dimension of `delaunayaxis`. If *>0*, the alpha-shape algorithm is used. In this case, the positive `alphahull` value signals the use of the alpha-shape algorithm, _and_ its value acts as the parameter for the mesh fitting. If *0*, the convex-hull algorithm is used. It is suitable for convex bodies or if the intention is to enclose the `x`, `y` and `z` point set into a convex hull. - Alphahull float64 `json:"alphahull,omitempty"` + Alphahull types.NumberType `json:"alphahull,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `intensity`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `intensity` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `intensity`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `intensity` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: false @@ -74,7 +74,7 @@ type Mesh3d struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -104,7 +104,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delaunayaxis // arrayOK: false @@ -125,13 +125,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `facecolor`. - Facecolorsrc types.String `json:"facecolorsrc,omitempty"` + Facecolorsrc types.StringType `json:"facecolorsrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -144,7 +144,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -155,25 +155,25 @@ type Mesh3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // I // arrayOK: false @@ -195,7 +195,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Intensity // arrayOK: false @@ -216,13 +216,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `intensity`. - Intensitysrc types.String `json:"intensitysrc,omitempty"` + Intensitysrc types.StringType `json:"intensitysrc,omitempty"` // Isrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `i`. - Isrc types.String `json:"isrc,omitempty"` + Isrc types.StringType `json:"isrc,omitempty"` // J // arrayOK: false @@ -236,7 +236,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `j`. - Jsrc types.String `json:"jsrc,omitempty"` + Jsrc types.StringType `json:"jsrc,omitempty"` // K // arrayOK: false @@ -250,13 +250,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `k`. - Ksrc types.String `json:"ksrc,omitempty"` + Ksrc types.StringType `json:"ksrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -267,13 +267,13 @@ type Mesh3d struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -295,43 +295,43 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -342,19 +342,19 @@ type Mesh3d struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -374,7 +374,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `vertexcolor`. - Vertexcolorsrc types.String `json:"vertexcolorsrc,omitempty"` + Vertexcolorsrc types.StringType `json:"vertexcolorsrc,omitempty"` // Visible // arrayOK: false @@ -402,13 +402,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -429,13 +429,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -456,13 +456,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Mesh3dColorbarTickfont Sets the color bar's tick label font @@ -478,13 +478,13 @@ type Mesh3dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dColorbarTickformatstop @@ -500,25 +500,25 @@ type Mesh3dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Mesh3dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -534,13 +534,13 @@ type Mesh3dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dColorbarTitle @@ -562,7 +562,7 @@ type Mesh3dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dColorbar @@ -584,7 +584,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -609,7 +609,7 @@ type Mesh3dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -622,13 +622,13 @@ type Mesh3dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -647,13 +647,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -666,7 +666,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -686,7 +686,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -705,7 +705,7 @@ type Mesh3dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -722,7 +722,7 @@ type Mesh3dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -747,13 +747,13 @@ type Mesh3dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -766,7 +766,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -779,7 +779,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -793,7 +793,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -807,13 +807,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -824,7 +824,7 @@ type Mesh3dColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -837,13 +837,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -856,7 +856,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // Mesh3dContour @@ -872,13 +872,13 @@ type Mesh3dContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Mesh3dHoverlabelFont Sets the font used in hover labels. @@ -894,31 +894,31 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Mesh3dHoverlabel @@ -935,7 +935,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -947,7 +947,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -959,7 +959,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -970,13 +970,13 @@ type Mesh3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Mesh3dLegendgrouptitleFont Sets this legend group's title font. @@ -992,13 +992,13 @@ type Mesh3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dLegendgrouptitle @@ -1013,7 +1013,7 @@ type Mesh3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dLighting @@ -1023,43 +1023,43 @@ type Mesh3dLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // Mesh3dLightposition @@ -1069,19 +1069,19 @@ type Mesh3dLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // Mesh3dStream @@ -1091,13 +1091,13 @@ type Mesh3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Mesh3dColorbarExponentformat 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. diff --git a/generated/v2.19.0/graph_objects/ohlc_gen.go b/generated/v2.19.0/graph_objects/ohlc_gen.go index 39ece26..3d65760 100644 --- a/generated/v2.19.0/graph_objects/ohlc_gen.go +++ b/generated/v2.19.0/graph_objects/ohlc_gen.go @@ -40,7 +40,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Ohlc struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,7 +128,7 @@ type Ohlc struct { // 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -139,13 +139,13 @@ type Ohlc struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -164,7 +164,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -176,19 +176,19 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -202,7 +202,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -214,7 +214,7 @@ type Ohlc struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -225,19 +225,19 @@ type Ohlc struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the width of the open/close tick marks relative to the *x* minimal interval. - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transforms // role: Object @@ -248,7 +248,7 @@ type Ohlc struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -275,7 +275,7 @@ type Ohlc struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -288,7 +288,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -313,19 +313,19 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // OhlcDecreasingLine @@ -341,13 +341,13 @@ type OhlcDecreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcDecreasing @@ -372,31 +372,31 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // OhlcHoverlabel @@ -413,7 +413,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -425,7 +425,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -437,7 +437,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -448,19 +448,19 @@ type OhlcHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // OhlcIncreasingLine @@ -476,13 +476,13 @@ type OhlcIncreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcIncreasing @@ -507,13 +507,13 @@ type OhlcLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // OhlcLegendgrouptitle @@ -528,7 +528,7 @@ type OhlcLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // OhlcLine @@ -538,13 +538,13 @@ type OhlcLine struct { // 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*). Note that this style setting can also be set per direction via `increasing.line.dash` and `decreasing.line.dash`. - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // [object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcStream @@ -554,13 +554,13 @@ type OhlcStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // OhlcTransform 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. diff --git a/generated/v2.19.0/graph_objects/parcats_gen.go b/generated/v2.19.0/graph_objects/parcats_gen.go index 37dfbc1..c620cbc 100644 --- a/generated/v2.19.0/graph_objects/parcats_gen.go +++ b/generated/v2.19.0/graph_objects/parcats_gen.go @@ -39,19 +39,19 @@ type Parcats struct { // arrayOK: false // type: boolean // Sort paths so that like colors are bundled together within each category. - Bundlecolors types.Bool `json:"bundlecolors,omitempty"` + 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 - Counts *types.ArrayOK[*float64] `json:"counts,omitempty"` + Counts *types.ArrayOK[*types.NumberType] `json:"counts,omitempty"` // Countssrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `counts`. - Countssrc types.String `json:"countssrc,omitempty"` + Countssrc types.StringType `json:"countssrc,omitempty"` // Dimensions // role: Object @@ -81,7 +81,7 @@ type Parcats struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + Hovertemplate types.StringType `json:"hovertemplate,omitempty"` // Labelfont // arrayOK: false @@ -97,7 +97,7 @@ type Parcats struct { // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -114,13 +114,13 @@ type Parcats struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Sortpaths // arrayOK: false @@ -148,7 +148,7 @@ type Parcats struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -179,7 +179,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -192,13 +192,13 @@ type ParcatsDimension struct { // arrayOK: false // type: integer // The display index of dimension, from left to right, zero indexed, defaults to dimension index. - Displayindex int64 `json:"displayindex,omitempty"` + Displayindex types.IntegerType `json:"displayindex,omitempty"` // Label // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Ticktext // arrayOK: false @@ -212,7 +212,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Values // arrayOK: false @@ -226,13 +226,13 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcatsDomain @@ -242,13 +242,13 @@ type ParcatsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcats trace . - Column int64 `json:"column,omitempty"` + 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 . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -276,13 +276,13 @@ type ParcatsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLegendgrouptitleFont Sets this legend group's title font. @@ -298,13 +298,13 @@ type ParcatsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLegendgrouptitle @@ -319,7 +319,7 @@ type ParcatsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbarTickfont Sets the color bar's tick label font @@ -335,13 +335,13 @@ type ParcatsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLineColorbarTickformatstop @@ -357,25 +357,25 @@ type ParcatsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -391,13 +391,13 @@ type ParcatsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLineColorbarTitle @@ -419,7 +419,7 @@ type ParcatsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbar @@ -441,7 +441,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -466,7 +466,7 @@ type ParcatsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -479,13 +479,13 @@ type ParcatsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -504,13 +504,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -523,7 +523,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -543,7 +543,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -562,7 +562,7 @@ type ParcatsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -579,7 +579,7 @@ type ParcatsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -604,13 +604,13 @@ type ParcatsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -623,7 +623,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -636,7 +636,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -650,7 +650,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -664,13 +664,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -681,7 +681,7 @@ type ParcatsLineColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -694,13 +694,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -713,7 +713,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ParcatsLine @@ -723,31 +723,31 @@ type ParcatsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -759,7 +759,7 @@ type ParcatsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -776,19 +776,19 @@ type ParcatsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Shape // arrayOK: false @@ -801,7 +801,7 @@ type ParcatsLine struct { // 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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcatsStream @@ -811,13 +811,13 @@ type ParcatsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcatsTickfont Sets the font for the `category` labels. @@ -833,13 +833,13 @@ type ParcatsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + 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. diff --git a/generated/v2.19.0/graph_objects/parcoords_gen.go b/generated/v2.19.0/graph_objects/parcoords_gen.go index 60b828b..53bcae0 100644 --- a/generated/v2.19.0/graph_objects/parcoords_gen.go +++ b/generated/v2.19.0/graph_objects/parcoords_gen.go @@ -40,7 +40,7 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dimensions // role: Object @@ -64,13 +64,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Labelangle // arrayOK: false // type: angle // Sets the angle of the labels with respect to the horizontal. For example, a `tickangle` of -90 draws the labels vertically. Tilted labels with *labelangle* may be positioned better inside margins when `labelposition` is set to *bottom*. - Labelangle float64 `json:"labelangle,omitempty"` + Labelangle types.NumberType `json:"labelangle,omitempty"` // Labelfont // arrayOK: false @@ -93,13 +93,13 @@ type Parcoords struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -116,13 +116,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Rangefont // arrayOK: false @@ -148,7 +148,7 @@ type Parcoords struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -182,19 +182,19 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Multiselect // arrayOK: false // type: boolean // Do we allow multiple selection ranges or just a single range? - Multiselect types.Bool `json:"multiselect,omitempty"` + Multiselect types.BoolType `json:"multiselect,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -206,13 +206,13 @@ type ParcoordsDimension struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticktext // arrayOK: false @@ -226,7 +226,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -240,7 +240,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Values // arrayOK: false @@ -254,13 +254,13 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcoordsDomain @@ -270,13 +270,13 @@ type ParcoordsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcoords trace . - Column int64 `json:"column,omitempty"` + 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 parcoords trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -304,13 +304,13 @@ type ParcoordsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLegendgrouptitleFont Sets this legend group's title font. @@ -326,13 +326,13 @@ type ParcoordsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLegendgrouptitle @@ -347,7 +347,7 @@ type ParcoordsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbarTickfont Sets the color bar's tick label font @@ -363,13 +363,13 @@ type ParcoordsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLineColorbarTickformatstop @@ -385,25 +385,25 @@ type ParcoordsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ParcoordsLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -419,13 +419,13 @@ type ParcoordsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLineColorbarTitle @@ -447,7 +447,7 @@ type ParcoordsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbar @@ -469,7 +469,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -494,7 +494,7 @@ type ParcoordsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -507,13 +507,13 @@ type ParcoordsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -532,13 +532,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -551,7 +551,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -571,7 +571,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -590,7 +590,7 @@ type ParcoordsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -607,7 +607,7 @@ type ParcoordsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -632,13 +632,13 @@ type ParcoordsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -651,7 +651,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -664,7 +664,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -678,7 +678,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -692,13 +692,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -709,7 +709,7 @@ type ParcoordsLineColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -722,13 +722,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -741,7 +741,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ParcoordsLine @@ -751,31 +751,31 @@ type ParcoordsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -787,7 +787,7 @@ type ParcoordsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -804,19 +804,19 @@ type ParcoordsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcoordsRangefont Sets the font for the `dimension` range values. @@ -832,13 +832,13 @@ type ParcoordsRangefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsStream @@ -848,13 +848,13 @@ type ParcoordsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcoordsTickfont Sets the font for the `dimension` tick values. @@ -870,13 +870,13 @@ type ParcoordsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsTransform 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. @@ -896,7 +896,7 @@ type ParcoordsUnselectedLine struct { // arrayOK: false // type: number // Sets the opacity of unselected lines. The default *auto* decreases the opacity smoothly as the number of lines increases. Use *1* to achieve exact `unselected.line.color`. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ParcoordsUnselected diff --git a/generated/v2.19.0/graph_objects/pie_gen.go b/generated/v2.19.0/graph_objects/pie_gen.go index 00e4435..ea62fb7 100644 --- a/generated/v2.19.0/graph_objects/pie_gen.go +++ b/generated/v2.19.0/graph_objects/pie_gen.go @@ -32,7 +32,7 @@ type Pie struct { // arrayOK: false // type: boolean // Determines whether outside text labels can push the margins. - Automargin types.Bool `json:"automargin,omitempty"` + Automargin types.BoolType `json:"automargin,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Direction // arrayOK: false @@ -59,7 +59,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -70,7 +70,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the pie. Use this to make a donut chart. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Hoverinfo // arrayOK: true @@ -83,7 +83,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Pie struct { // 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. variables `label`, `color`, `value`, `percent` and `text`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -144,7 +144,7 @@ type Pie struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -158,13 +158,13 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -175,13 +175,13 @@ type Pie struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -198,19 +198,19 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -221,37 +221,37 @@ type Pie struct { // arrayOK: true // type: number // Sets the fraction of larger radius to pull the sectors out from the center. This can be a constant to pull all slices apart from each other equally or an array to highlight one or more slices. - Pull *types.ArrayOK[*float64] `json:"pull,omitempty"` + Pull *types.ArrayOK[*types.NumberType] `json:"pull,omitempty"` // Pullsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `pull`. - Pullsrc types.String `json:"pullsrc,omitempty"` + Pullsrc types.StringType `json:"pullsrc,omitempty"` // Rotation // arrayOK: false // type: angle // Instead of the first slice starting at 12 o'clock, rotate to some other angle. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple pie charts that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -289,25 +289,25 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `label`, `color`, `value`, `percent` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -323,7 +323,7 @@ type Pie struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -343,7 +343,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -360,13 +360,13 @@ type PieDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this pie trace . - Column int64 `json:"column,omitempty"` + 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 pie trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -394,31 +394,31 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieHoverlabel @@ -435,7 +435,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -447,7 +447,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -459,7 +459,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -470,13 +470,13 @@ type PieHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PieInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -492,31 +492,31 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieLegendgrouptitleFont Sets this legend group's title font. @@ -532,13 +532,13 @@ type PieLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // PieLegendgrouptitle @@ -553,7 +553,7 @@ type PieLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieMarkerLine @@ -569,19 +569,19 @@ type PieMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // PieMarker @@ -599,7 +599,7 @@ type PieMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -620,31 +620,31 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieStream @@ -654,13 +654,13 @@ type PieStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PieTextfont Sets the font used for `textinfo`. @@ -676,31 +676,31 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -716,31 +716,31 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieTitle @@ -762,7 +762,7 @@ type PieTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieTransform 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. diff --git a/generated/v2.19.0/graph_objects/pointcloud_gen.go b/generated/v2.19.0/graph_objects/pointcloud_gen.go index 1605c26..3213e9b 100644 --- a/generated/v2.19.0/graph_objects/pointcloud_gen.go +++ b/generated/v2.19.0/graph_objects/pointcloud_gen.go @@ -40,7 +40,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -53,7 +53,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -72,7 +72,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Indices // arrayOK: false @@ -86,13 +86,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `indices`. - Indicessrc types.String `json:"indicessrc,omitempty"` + Indicessrc types.StringType `json:"indicessrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -103,13 +103,13 @@ type Pointcloud struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -126,25 +126,25 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -155,19 +155,19 @@ type Pointcloud struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -194,7 +194,7 @@ type Pointcloud struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbounds // arrayOK: false @@ -208,13 +208,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xbounds`. - Xboundssrc types.String `json:"xboundssrc,omitempty"` + Xboundssrc types.StringType `json:"xboundssrc,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xy // arrayOK: false @@ -228,7 +228,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xy`. - Xysrc types.String `json:"xysrc,omitempty"` + Xysrc types.StringType `json:"xysrc,omitempty"` // Y // arrayOK: false @@ -242,7 +242,7 @@ type Pointcloud struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybounds // arrayOK: false @@ -256,13 +256,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ybounds`. - Yboundssrc types.String `json:"yboundssrc,omitempty"` + Yboundssrc types.StringType `json:"yboundssrc,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // PointcloudHoverlabelFont Sets the font used in hover labels. @@ -278,31 +278,31 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PointcloudHoverlabel @@ -319,7 +319,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -331,7 +331,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -343,7 +343,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -354,13 +354,13 @@ type PointcloudHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PointcloudLegendgrouptitleFont Sets this legend group's title font. @@ -376,13 +376,13 @@ type PointcloudLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // PointcloudLegendgrouptitle @@ -397,7 +397,7 @@ type PointcloudLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PointcloudMarkerBorder @@ -407,7 +407,7 @@ type PointcloudMarkerBorder struct { // arrayOK: false // type: number // Specifies what fraction of the marker area is covered with the border. - Arearatio float64 `json:"arearatio,omitempty"` + Arearatio types.NumberType `json:"arearatio,omitempty"` // Color // arrayOK: false @@ -423,7 +423,7 @@ type PointcloudMarker struct { // arrayOK: false // type: boolean // Determines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `true` reduces zoom/pan speed if used with large numbers of points. - Blend types.Bool `json:"blend,omitempty"` + Blend types.BoolType `json:"blend,omitempty"` // Border // arrayOK: false @@ -440,19 +440,19 @@ type PointcloudMarker struct { // arrayOK: false // type: number // Sets the marker opacity. The default value is `1` (fully opaque). If the markers are not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning. Opacity fades the color even if `blend` is left on `false` even if there is no translucency effect in that case. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizemax // arrayOK: false // type: number // Sets the maximum size (in px) of the rendered marker points. Effective when the `pointcloud` shows only few points. - Sizemax float64 `json:"sizemax,omitempty"` + Sizemax types.NumberType `json:"sizemax,omitempty"` // Sizemin // arrayOK: false // type: number // Sets the minimum size (in px) of the rendered marker points, effective when the `pointcloud` shows a million or more points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` } // PointcloudStream @@ -462,13 +462,13 @@ type PointcloudStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PointcloudHoverlabelAlign 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 diff --git a/generated/v2.19.0/graph_objects/sankey_gen.go b/generated/v2.19.0/graph_objects/sankey_gen.go index ac621c4..70d530a 100644 --- a/generated/v2.19.0/graph_objects/sankey_gen.go +++ b/generated/v2.19.0/graph_objects/sankey_gen.go @@ -47,7 +47,7 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -78,7 +78,7 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legendgrouptitle // arrayOK: false @@ -89,13 +89,13 @@ type Sankey struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Link // arrayOK: false @@ -112,13 +112,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Node // arrayOK: false @@ -152,7 +152,7 @@ type Sankey struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -164,13 +164,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` // Valuesuffix // arrayOK: false // type: string // Adds a unit to follow the value in the hover tooltip. Add a space if a separation is necessary from the value. - Valuesuffix types.String `json:"valuesuffix,omitempty"` + Valuesuffix types.StringType `json:"valuesuffix,omitempty"` // Visible // arrayOK: false @@ -187,13 +187,13 @@ type SankeyDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sankey trace . - Column int64 `json:"column,omitempty"` + 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 sankey trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -221,31 +221,31 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyHoverlabel @@ -262,7 +262,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -274,7 +274,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -286,7 +286,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -297,13 +297,13 @@ type SankeyHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLegendgrouptitleFont Sets this legend group's title font. @@ -319,13 +319,13 @@ type SankeyLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SankeyLegendgrouptitle @@ -340,7 +340,7 @@ type SankeyLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SankeyLinkConcentrationscales @@ -350,13 +350,13 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: number // Sets the upper bound of the color domain. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorscale // arrayOK: false @@ -368,19 +368,19 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: string // The label of the links to color based on their concentration within a flow. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` } // SankeyLinkHoverlabelFont Sets the font used in hover labels. @@ -396,31 +396,31 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyLinkHoverlabel @@ -437,7 +437,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -449,7 +449,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -461,7 +461,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -472,13 +472,13 @@ type SankeyLinkHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLinkLine @@ -494,19 +494,19 @@ type SankeyLinkLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `link`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyLink The links of the Sankey plot. @@ -516,7 +516,7 @@ type SankeyLink struct { // arrayOK: false // type: number // Sets the length (in px) of the links arrow, if 0 no arrow will be drawn. - Arrowlen float64 `json:"arrowlen,omitempty"` + Arrowlen types.NumberType `json:"arrowlen,omitempty"` // Color // arrayOK: true @@ -533,7 +533,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -547,7 +547,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: false @@ -565,13 +565,13 @@ type SankeyLink struct { // 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. variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -585,7 +585,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -604,7 +604,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `source`. - Sourcesrc types.String `json:"sourcesrc,omitempty"` + Sourcesrc types.StringType `json:"sourcesrc,omitempty"` // Target // arrayOK: false @@ -618,7 +618,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `target`. - Targetsrc types.String `json:"targetsrc,omitempty"` + Targetsrc types.StringType `json:"targetsrc,omitempty"` // Value // arrayOK: false @@ -632,7 +632,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` } // SankeyNodeHoverlabelFont Sets the font used in hover labels. @@ -648,31 +648,31 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyNodeHoverlabel @@ -689,7 +689,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -701,7 +701,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -713,7 +713,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -724,13 +724,13 @@ type SankeyNodeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyNodeLine @@ -746,19 +746,19 @@ type SankeyNodeLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `node`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyNode The nodes of the Sankey plot. @@ -774,7 +774,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -788,7 +788,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Groups // arrayOK: false @@ -812,13 +812,13 @@ type SankeyNode struct { // 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. variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -832,7 +832,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -843,13 +843,13 @@ type SankeyNode struct { // arrayOK: false // type: number // Sets the padding (in px) between the `nodes`. - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the `nodes`. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // X // arrayOK: false @@ -863,7 +863,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -877,7 +877,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // SankeyStream @@ -887,13 +887,13 @@ type SankeyStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SankeyTextfont Sets the font for node labels @@ -909,13 +909,13 @@ type SankeyTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SankeyArrangement If value is `snap` (the default), the node arrangement is assisted by automatic snapping of elements to preserve space between nodes specified via `nodepad`. If value is `perpendicular`, the nodes can only move along a line perpendicular to the flow. If value is `freeform`, the nodes can freely move on the plane. If value is `fixed`, the nodes are stationary. diff --git a/generated/v2.19.0/graph_objects/scatter3d_gen.go b/generated/v2.19.0/graph_objects/scatter3d_gen.go index ce54b8a..b7cbd6b 100644 --- a/generated/v2.19.0/graph_objects/scatter3d_gen.go +++ b/generated/v2.19.0/graph_objects/scatter3d_gen.go @@ -32,7 +32,7 @@ type Scatter3d struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -74,7 +74,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -85,25 +85,25 @@ type Scatter3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,13 +117,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -134,13 +134,13 @@ type Scatter3d struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -162,7 +162,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -175,13 +175,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Projection // arrayOK: false @@ -192,13 +192,13 @@ type Scatter3d struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -222,7 +222,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -240,25 +240,25 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -269,7 +269,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -303,13 +303,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -330,13 +330,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -357,13 +357,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Scatter3dErrorX @@ -389,13 +389,13 @@ type Scatter3dErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -407,31 +407,31 @@ type Scatter3dErrorX struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -444,25 +444,25 @@ type Scatter3dErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorY @@ -488,13 +488,13 @@ type Scatter3dErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -506,31 +506,31 @@ type Scatter3dErrorY struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -543,25 +543,25 @@ type Scatter3dErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorZ @@ -587,13 +587,13 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -605,25 +605,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -636,25 +636,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dHoverlabelFont Sets the font used in hover labels. @@ -670,31 +670,31 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Scatter3dHoverlabel @@ -711,7 +711,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -723,7 +723,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -735,7 +735,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -746,13 +746,13 @@ type Scatter3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Scatter3dLegendgrouptitleFont Sets this legend group's title font. @@ -768,13 +768,13 @@ type Scatter3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLegendgrouptitle @@ -789,7 +789,7 @@ type Scatter3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbarTickfont Sets the color bar's tick label font @@ -805,13 +805,13 @@ type Scatter3dLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLineColorbarTickformatstop @@ -827,25 +827,25 @@ type Scatter3dLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -861,13 +861,13 @@ type Scatter3dLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLineColorbarTitle @@ -889,7 +889,7 @@ type Scatter3dLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbar @@ -911,7 +911,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -936,7 +936,7 @@ type Scatter3dLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -949,13 +949,13 @@ type Scatter3dLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -974,13 +974,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -993,7 +993,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1013,7 +1013,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1032,7 +1032,7 @@ type Scatter3dLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1049,7 +1049,7 @@ type Scatter3dLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1074,13 +1074,13 @@ type Scatter3dLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1093,7 +1093,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1106,7 +1106,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1120,7 +1120,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1134,13 +1134,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1151,7 +1151,7 @@ type Scatter3dLineColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1164,13 +1164,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1183,7 +1183,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // Scatter3dLine @@ -1193,31 +1193,31 @@ type Scatter3dLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1229,7 +1229,7 @@ type Scatter3dLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1246,7 +1246,7 @@ type Scatter3dLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Dash // arrayOK: false @@ -1259,19 +1259,19 @@ type Scatter3dLine struct { // 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarkerColorbarTickfont Sets the color bar's tick label font @@ -1287,13 +1287,13 @@ type Scatter3dMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dMarkerColorbarTickformatstop @@ -1309,25 +1309,25 @@ type Scatter3dMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1343,13 +1343,13 @@ type Scatter3dMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dMarkerColorbarTitle @@ -1371,7 +1371,7 @@ type Scatter3dMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dMarkerColorbar @@ -1393,7 +1393,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1418,7 +1418,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1431,13 +1431,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1456,13 +1456,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1475,7 +1475,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1495,7 +1495,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1514,7 +1514,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1531,7 +1531,7 @@ type Scatter3dMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1556,13 +1556,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1575,7 +1575,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1588,7 +1588,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1602,7 +1602,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1616,13 +1616,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1633,7 +1633,7 @@ type Scatter3dMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1646,13 +1646,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1665,7 +1665,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // Scatter3dMarkerLine @@ -1675,31 +1675,31 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1711,7 +1711,7 @@ type Scatter3dMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1723,19 +1723,19 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarker @@ -1745,31 +1745,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1781,7 +1781,7 @@ type Scatter3dMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1798,7 +1798,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1809,31 +1809,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Sets the marker opacity. Note that the marker opacity for scatter3d traces must be a scalar value for performance reasons. To set a blending opacity value (i.e. which is not transparent), set *marker.color* to an rgba color and use its alpha channel. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1846,13 +1846,13 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1865,7 +1865,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // Scatter3dProjectionX @@ -1875,19 +1875,19 @@ type Scatter3dProjectionX struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the x axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionY @@ -1897,19 +1897,19 @@ type Scatter3dProjectionY struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the y axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionZ @@ -1919,19 +1919,19 @@ type Scatter3dProjectionZ struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the z axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjection @@ -1960,13 +1960,13 @@ type Scatter3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Scatter3dTextfont @@ -1982,25 +1982,25 @@ type Scatter3dTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Scatter3dTransform 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. diff --git a/generated/v2.19.0/graph_objects/scatter_gen.go b/generated/v2.19.0/graph_objects/scatter_gen.go index 6b29940..40b7625 100644 --- a/generated/v2.19.0/graph_objects/scatter_gen.go +++ b/generated/v2.19.0/graph_objects/scatter_gen.go @@ -32,19 +32,19 @@ type Scatter struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -58,19 +58,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -118,7 +118,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -136,25 +136,25 @@ type Scatter struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -168,13 +168,13 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -185,13 +185,13 @@ type Scatter struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -213,7 +213,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -226,19 +226,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -262,7 +262,7 @@ type Scatter struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stackgaps // arrayOK: false @@ -275,7 +275,7 @@ type Scatter struct { // arrayOK: false // type: string // Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `orientation` is *h*). If blank or omitted this trace will not be stacked. Stacking also turns `fill` on by default, using *tonexty* (*tonextx*) if `orientation` is *h* (*v*) and sets the default `mode` to *lines* irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. - Stackgroup types.String `json:"stackgroup,omitempty"` + Stackgroup types.StringType `json:"stackgroup,omitempty"` // Stream // arrayOK: false @@ -286,7 +286,7 @@ type Scatter struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -304,25 +304,25 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -333,7 +333,7 @@ type Scatter struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -371,7 +371,7 @@ type Scatter struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -384,7 +384,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -409,7 +409,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -429,7 +429,7 @@ type Scatter struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -442,7 +442,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -467,7 +467,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ScatterErrorX @@ -493,13 +493,13 @@ type ScatterErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -511,31 +511,31 @@ type ScatterErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -548,25 +548,25 @@ type ScatterErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterErrorY @@ -592,13 +592,13 @@ type ScatterErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -610,25 +610,25 @@ type ScatterErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -641,25 +641,25 @@ type ScatterErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterFillpattern Sets the pattern within the marker. @@ -675,7 +675,7 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -687,13 +687,13 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -713,31 +713,31 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // ScatterHoverlabelFont Sets the font used in hover labels. @@ -753,31 +753,31 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterHoverlabel @@ -794,7 +794,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -806,7 +806,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -818,7 +818,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -829,13 +829,13 @@ type ScatterHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterLegendgrouptitleFont Sets this legend group's title font. @@ -851,13 +851,13 @@ type ScatterLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterLegendgrouptitle @@ -872,7 +872,7 @@ type ScatterLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterLine @@ -882,13 +882,13 @@ type ScatterLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -900,7 +900,7 @@ type ScatterLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -913,19 +913,19 @@ type ScatterLine struct { // arrayOK: false // type: boolean // Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected. - Simplify types.Bool `json:"simplify,omitempty"` + Simplify types.BoolType `json:"simplify,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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterMarkerColorbarTickfont Sets the color bar's tick label font @@ -941,13 +941,13 @@ type ScatterMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterMarkerColorbarTickformatstop @@ -963,25 +963,25 @@ type ScatterMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -997,13 +997,13 @@ type ScatterMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterMarkerColorbarTitle @@ -1025,7 +1025,7 @@ type ScatterMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterMarkerColorbar @@ -1047,7 +1047,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1072,7 +1072,7 @@ type ScatterMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1085,13 +1085,13 @@ type ScatterMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1110,13 +1110,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1129,7 +1129,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1149,7 +1149,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1168,7 +1168,7 @@ type ScatterMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1185,7 +1185,7 @@ type ScatterMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1210,13 +1210,13 @@ type ScatterMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1229,7 +1229,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1242,7 +1242,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1256,7 +1256,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1270,13 +1270,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1287,7 +1287,7 @@ type ScatterMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1300,13 +1300,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1319,7 +1319,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScatterMarkerGradient @@ -1335,7 +1335,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1348,7 +1348,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterMarkerLine @@ -1358,31 +1358,31 @@ type ScatterMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1394,7 +1394,7 @@ type ScatterMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1406,25 +1406,25 @@ type ScatterMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterMarker @@ -1434,7 +1434,7 @@ type ScatterMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1447,37 +1447,37 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1489,7 +1489,7 @@ type ScatterMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1506,7 +1506,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1522,43 +1522,43 @@ type ScatterMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1571,25 +1571,25 @@ type ScatterMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1602,7 +1602,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterSelectedMarker @@ -1618,13 +1618,13 @@ type ScatterSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterSelectedTextfont @@ -1658,13 +1658,13 @@ type ScatterStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterTextfont Sets the text font. @@ -1680,31 +1680,31 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterTransform 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. @@ -1724,13 +1724,13 @@ type ScatterUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/scattercarpet_gen.go b/generated/v2.19.0/graph_objects/scattercarpet_gen.go index 9b83758..6a4a0af 100644 --- a/generated/v2.19.0/graph_objects/scattercarpet_gen.go +++ b/generated/v2.19.0/graph_objects/scattercarpet_gen.go @@ -40,7 +40,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,19 +54,19 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + 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. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -80,7 +80,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -106,7 +106,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -124,25 +124,25 @@ type Scattercarpet struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + 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. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -156,13 +156,13 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -173,13 +173,13 @@ type Scattercarpet struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -201,7 +201,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -214,13 +214,13 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -237,7 +237,7 @@ type Scattercarpet struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -248,7 +248,7 @@ type Scattercarpet struct { // 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. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -266,25 +266,25 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -295,7 +295,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -319,13 +319,13 @@ type Scattercarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` } // ScattercarpetHoverlabelFont Sets the font used in hover labels. @@ -341,31 +341,31 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattercarpetHoverlabel @@ -382,7 +382,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -394,7 +394,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -406,7 +406,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -417,13 +417,13 @@ type ScattercarpetHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattercarpetLegendgrouptitleFont Sets this legend group's title font. @@ -439,13 +439,13 @@ type ScattercarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetLegendgrouptitle @@ -460,7 +460,7 @@ type ScattercarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetLine @@ -470,13 +470,13 @@ type ScattercarpetLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -488,7 +488,7 @@ type ScattercarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -501,13 +501,13 @@ type ScattercarpetLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattercarpetMarkerColorbarTickfont Sets the color bar's tick label font @@ -523,13 +523,13 @@ type ScattercarpetMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetMarkerColorbarTickformatstop @@ -545,25 +545,25 @@ type ScattercarpetMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -579,13 +579,13 @@ type ScattercarpetMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetMarkerColorbarTitle @@ -607,7 +607,7 @@ type ScattercarpetMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetMarkerColorbar @@ -629,7 +629,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -654,7 +654,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -667,13 +667,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -692,13 +692,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -711,7 +711,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -731,7 +731,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -750,7 +750,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -767,7 +767,7 @@ type ScattercarpetMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -792,13 +792,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -811,7 +811,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -824,7 +824,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -838,7 +838,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -852,13 +852,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -869,7 +869,7 @@ type ScattercarpetMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -882,13 +882,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -901,7 +901,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScattercarpetMarkerGradient @@ -917,7 +917,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -930,7 +930,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattercarpetMarkerLine @@ -940,31 +940,31 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -976,7 +976,7 @@ type ScattercarpetMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -988,25 +988,25 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattercarpetMarker @@ -1016,7 +1016,7 @@ type ScattercarpetMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1029,37 +1029,37 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1071,7 +1071,7 @@ type ScattercarpetMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1088,7 +1088,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1104,43 +1104,43 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1153,25 +1153,25 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1184,7 +1184,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattercarpetSelectedMarker @@ -1200,13 +1200,13 @@ type ScattercarpetSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetSelectedTextfont @@ -1240,13 +1240,13 @@ type ScattercarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattercarpetTextfont Sets the text font. @@ -1262,31 +1262,31 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattercarpetTransform 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. @@ -1306,13 +1306,13 @@ type ScattercarpetUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/scattergeo_gen.go b/generated/v2.19.0/graph_objects/scattergeo_gen.go index 397d3f5..fd58a63 100644 --- a/generated/v2.19.0/graph_objects/scattergeo_gen.go +++ b/generated/v2.19.0/graph_objects/scattergeo_gen.go @@ -32,7 +32,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,13 +46,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Fill // arrayOK: false @@ -71,7 +71,7 @@ type Scattergeo struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -90,7 +90,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -101,25 +101,25 @@ type Scattergeo struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -133,7 +133,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -147,13 +147,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -164,13 +164,13 @@ type Scattergeo struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -196,7 +196,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Lon // arrayOK: false @@ -210,7 +210,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -227,7 +227,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -240,13 +240,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -263,7 +263,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -274,7 +274,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -292,25 +292,25 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `lat`, `lon`, `location` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -321,7 +321,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -355,31 +355,31 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattergeoHoverlabel @@ -396,7 +396,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -408,7 +408,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -420,7 +420,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -431,13 +431,13 @@ type ScattergeoHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattergeoLegendgrouptitleFont Sets this legend group's title font. @@ -453,13 +453,13 @@ type ScattergeoLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoLegendgrouptitle @@ -474,7 +474,7 @@ type ScattergeoLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoLine @@ -490,13 +490,13 @@ type ScattergeoLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattergeoMarkerColorbarTickfont Sets the color bar's tick label font @@ -512,13 +512,13 @@ type ScattergeoMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoMarkerColorbarTickformatstop @@ -534,25 +534,25 @@ type ScattergeoMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattergeoMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -568,13 +568,13 @@ type ScattergeoMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoMarkerColorbarTitle @@ -596,7 +596,7 @@ type ScattergeoMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoMarkerColorbar @@ -618,7 +618,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -643,7 +643,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -656,13 +656,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -681,13 +681,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -700,7 +700,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -720,7 +720,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -739,7 +739,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -756,7 +756,7 @@ type ScattergeoMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -781,13 +781,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -800,7 +800,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -813,7 +813,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -827,7 +827,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -841,13 +841,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -858,7 +858,7 @@ type ScattergeoMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -871,13 +871,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -890,7 +890,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScattergeoMarkerGradient @@ -906,7 +906,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -919,7 +919,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattergeoMarkerLine @@ -929,31 +929,31 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -965,7 +965,7 @@ type ScattergeoMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -977,25 +977,25 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattergeoMarker @@ -1005,7 +1005,7 @@ type ScattergeoMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1018,37 +1018,37 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1060,7 +1060,7 @@ type ScattergeoMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1077,7 +1077,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1093,37 +1093,37 @@ type ScattergeoMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1136,25 +1136,25 @@ type ScattergeoMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1167,7 +1167,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattergeoSelectedMarker @@ -1183,13 +1183,13 @@ type ScattergeoSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoSelectedTextfont @@ -1223,13 +1223,13 @@ type ScattergeoStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattergeoTextfont Sets the text font. @@ -1245,31 +1245,31 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattergeoTransform 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. @@ -1289,13 +1289,13 @@ type ScattergeoUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/scattergl_gen.go b/generated/v2.19.0/graph_objects/scattergl_gen.go index ef19ee5..9194905 100644 --- a/generated/v2.19.0/graph_objects/scattergl_gen.go +++ b/generated/v2.19.0/graph_objects/scattergl_gen.go @@ -32,7 +32,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -94,7 +94,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Scattergl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,13 +137,13 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -154,13 +154,13 @@ type Scattergl struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -182,7 +182,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -195,13 +195,13 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -218,7 +218,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -229,7 +229,7 @@ type Scattergl struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -247,25 +247,25 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -276,7 +276,7 @@ type Scattergl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -314,7 +314,7 @@ type Scattergl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -327,7 +327,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -352,7 +352,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -372,7 +372,7 @@ type Scattergl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -385,7 +385,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -410,7 +410,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ScatterglErrorX @@ -436,13 +436,13 @@ type ScatterglErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -454,31 +454,31 @@ type ScatterglErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -491,25 +491,25 @@ type ScatterglErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglErrorY @@ -535,13 +535,13 @@ type ScatterglErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -553,25 +553,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -584,25 +584,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglHoverlabelFont Sets the font used in hover labels. @@ -618,31 +618,31 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterglHoverlabel @@ -659,7 +659,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -671,7 +671,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -683,7 +683,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -694,13 +694,13 @@ type ScatterglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterglLegendgrouptitleFont Sets this legend group's title font. @@ -716,13 +716,13 @@ type ScatterglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglLegendgrouptitle @@ -737,7 +737,7 @@ type ScatterglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglLine @@ -767,7 +767,7 @@ type ScatterglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglMarkerColorbarTickfont Sets the color bar's tick label font @@ -783,13 +783,13 @@ type ScatterglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglMarkerColorbarTickformatstop @@ -805,25 +805,25 @@ type ScatterglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -839,13 +839,13 @@ type ScatterglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglMarkerColorbarTitle @@ -867,7 +867,7 @@ type ScatterglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglMarkerColorbar @@ -889,7 +889,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -914,7 +914,7 @@ type ScatterglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -927,13 +927,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -952,13 +952,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -971,7 +971,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -991,7 +991,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1010,7 +1010,7 @@ type ScatterglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1027,7 +1027,7 @@ type ScatterglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1052,13 +1052,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1071,7 +1071,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1084,7 +1084,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1098,7 +1098,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1112,13 +1112,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1129,7 +1129,7 @@ type ScatterglMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1142,13 +1142,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1161,7 +1161,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScatterglMarkerLine @@ -1171,31 +1171,31 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1207,7 +1207,7 @@ type ScatterglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1219,25 +1219,25 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterglMarker @@ -1247,43 +1247,43 @@ type ScatterglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1295,7 +1295,7 @@ type ScatterglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1312,7 +1312,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1323,37 +1323,37 @@ type ScatterglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1366,13 +1366,13 @@ type ScatterglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1385,7 +1385,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterglSelectedMarker @@ -1401,13 +1401,13 @@ type ScatterglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglSelectedTextfont @@ -1441,13 +1441,13 @@ type ScatterglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterglTextfont Sets the text font. @@ -1463,31 +1463,31 @@ type ScatterglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterglTransform 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. @@ -1507,13 +1507,13 @@ type ScatterglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/scattermapbox_gen.go b/generated/v2.19.0/graph_objects/scattermapbox_gen.go index 2ac6889..c870eee 100644 --- a/generated/v2.19.0/graph_objects/scattermapbox_gen.go +++ b/generated/v2.19.0/graph_objects/scattermapbox_gen.go @@ -32,7 +32,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Determines if this scattermapbox trace's layers are to be inserted before the layer with the specified ID. By default, scattermapbox layers are inserted above all the base layers. To place the scattermapbox layers above every other layer, set `below` to *''*. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Cluster // arrayOK: false @@ -43,7 +43,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -57,7 +57,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -83,7 +83,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Scattermapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -140,13 +140,13 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -157,13 +157,13 @@ type Scattermapbox struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -182,7 +182,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -199,7 +199,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -212,13 +212,13 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -235,7 +235,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -246,13 +246,13 @@ type Scattermapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -270,19 +270,19 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `lat`, `lon` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -293,7 +293,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -327,55 +327,55 @@ type ScattermapboxCluster struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether clustering is enabled or disabled. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` // Maxzoom // arrayOK: false // type: number // Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size for each cluster step. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Step // arrayOK: true // type: number // Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value. - Step *types.ArrayOK[*float64] `json:"step,omitempty"` + Step *types.ArrayOK[*types.NumberType] `json:"step,omitempty"` // Stepsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `step`. - Stepsrc types.String `json:"stepsrc,omitempty"` + Stepsrc types.StringType `json:"stepsrc,omitempty"` } // ScattermapboxHoverlabelFont Sets the font used in hover labels. @@ -391,31 +391,31 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattermapboxHoverlabel @@ -432,7 +432,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -444,7 +444,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -456,7 +456,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -467,13 +467,13 @@ type ScattermapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattermapboxLegendgrouptitleFont Sets this legend group's title font. @@ -489,13 +489,13 @@ type ScattermapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxLegendgrouptitle @@ -510,7 +510,7 @@ type ScattermapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxLine @@ -526,7 +526,7 @@ type ScattermapboxLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattermapboxMarkerColorbarTickfont Sets the color bar's tick label font @@ -542,13 +542,13 @@ type ScattermapboxMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxMarkerColorbarTickformatstop @@ -564,25 +564,25 @@ type ScattermapboxMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattermapboxMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -598,13 +598,13 @@ type ScattermapboxMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxMarkerColorbarTitle @@ -626,7 +626,7 @@ type ScattermapboxMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxMarkerColorbar @@ -648,7 +648,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -673,7 +673,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -686,13 +686,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -711,13 +711,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -730,7 +730,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -750,7 +750,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -769,7 +769,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -786,7 +786,7 @@ type ScattermapboxMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -811,13 +811,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -830,7 +830,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -843,7 +843,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -857,7 +857,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -871,13 +871,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -888,7 +888,7 @@ type ScattermapboxMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -901,13 +901,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -920,7 +920,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScattermapboxMarker @@ -930,49 +930,49 @@ type ScattermapboxMarker struct { // arrayOK: false // type: boolean // Flag to draw all symbols, even if they overlap. - Allowoverlap types.Bool `json:"allowoverlap,omitempty"` + Allowoverlap types.BoolType `json:"allowoverlap,omitempty"` // Angle // arrayOK: true // type: number // Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -984,7 +984,7 @@ type ScattermapboxMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1001,43 +1001,43 @@ type ScattermapboxMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1050,25 +1050,25 @@ type ScattermapboxMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true // type: string // Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols. - Symbol *types.ArrayOK[*types.String] `json:"symbol,omitempty"` + Symbol *types.ArrayOK[*types.StringType] `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattermapboxSelectedMarker @@ -1084,13 +1084,13 @@ type ScattermapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxSelected @@ -1109,13 +1109,13 @@ type ScattermapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattermapboxTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -1131,13 +1131,13 @@ type ScattermapboxTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxTransform 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. @@ -1157,13 +1157,13 @@ type ScattermapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxUnselected diff --git a/generated/v2.19.0/graph_objects/scatterpolar_gen.go b/generated/v2.19.0/graph_objects/scatterpolar_gen.go index 66815ff..ec5c3cb 100644 --- a/generated/v2.19.0/graph_objects/scatterpolar_gen.go +++ b/generated/v2.19.0/graph_objects/scatterpolar_gen.go @@ -32,13 +32,13 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -90,7 +90,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -108,25 +108,25 @@ type Scatterpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -140,13 +140,13 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -157,13 +157,13 @@ type Scatterpolar struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -185,7 +185,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -198,13 +198,13 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -224,7 +224,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -241,7 +241,7 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -252,13 +252,13 @@ type Scatterpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -276,25 +276,25 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -314,7 +314,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -332,7 +332,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -366,31 +366,31 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarHoverlabel @@ -407,7 +407,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -419,7 +419,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -431,7 +431,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -442,13 +442,13 @@ type ScatterpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarLegendgrouptitleFont Sets this legend group's title font. @@ -464,13 +464,13 @@ type ScatterpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarLegendgrouptitle @@ -485,7 +485,7 @@ type ScatterpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarLine @@ -495,13 +495,13 @@ type ScatterpolarLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -513,7 +513,7 @@ type ScatterpolarLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -526,13 +526,13 @@ type ScatterpolarLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -548,13 +548,13 @@ type ScatterpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarMarkerColorbarTickformatstop @@ -570,25 +570,25 @@ type ScatterpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -604,13 +604,13 @@ type ScatterpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarMarkerColorbarTitle @@ -632,7 +632,7 @@ type ScatterpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarMarkerColorbar @@ -654,7 +654,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -679,7 +679,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -692,13 +692,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -717,13 +717,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -736,7 +736,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -756,7 +756,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -775,7 +775,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -792,7 +792,7 @@ type ScatterpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -817,13 +817,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -836,7 +836,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -849,7 +849,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -863,7 +863,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -877,13 +877,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -894,7 +894,7 @@ type ScatterpolarMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -907,13 +907,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -926,7 +926,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScatterpolarMarkerGradient @@ -942,7 +942,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -955,7 +955,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterpolarMarkerLine @@ -965,31 +965,31 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1001,7 +1001,7 @@ type ScatterpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1013,25 +1013,25 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarMarker @@ -1041,7 +1041,7 @@ type ScatterpolarMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1054,37 +1054,37 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1096,7 +1096,7 @@ type ScatterpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1113,7 +1113,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1129,43 +1129,43 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1178,25 +1178,25 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1209,7 +1209,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarSelectedMarker @@ -1225,13 +1225,13 @@ type ScatterpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarSelectedTextfont @@ -1265,13 +1265,13 @@ type ScatterpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarTextfont Sets the text font. @@ -1287,31 +1287,31 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarTransform 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. @@ -1331,13 +1331,13 @@ type ScatterpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/scatterpolargl_gen.go b/generated/v2.19.0/graph_objects/scatterpolargl_gen.go index cf7a7bc..245fb1c 100644 --- a/generated/v2.19.0/graph_objects/scatterpolargl_gen.go +++ b/generated/v2.19.0/graph_objects/scatterpolargl_gen.go @@ -32,7 +32,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -84,7 +84,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -95,25 +95,25 @@ type Scatterpolargl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -127,13 +127,13 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -144,13 +144,13 @@ type Scatterpolargl struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -172,7 +172,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -185,13 +185,13 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -211,7 +211,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -228,7 +228,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -239,13 +239,13 @@ type Scatterpolargl struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -263,25 +263,25 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -301,7 +301,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -319,7 +319,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -353,31 +353,31 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarglHoverlabel @@ -394,7 +394,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -406,7 +406,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -418,7 +418,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -429,13 +429,13 @@ type ScatterpolarglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarglLegendgrouptitleFont Sets this legend group's title font. @@ -451,13 +451,13 @@ type ScatterpolarglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglLegendgrouptitle @@ -472,7 +472,7 @@ type ScatterpolarglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglLine @@ -502,7 +502,7 @@ type ScatterpolarglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarglMarkerColorbarTickfont Sets the color bar's tick label font @@ -518,13 +518,13 @@ type ScatterpolarglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglMarkerColorbarTickformatstop @@ -540,25 +540,25 @@ type ScatterpolarglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -574,13 +574,13 @@ type ScatterpolarglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglMarkerColorbarTitle @@ -602,7 +602,7 @@ type ScatterpolarglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglMarkerColorbar @@ -624,7 +624,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -649,7 +649,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -662,13 +662,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -687,13 +687,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -706,7 +706,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -726,7 +726,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -745,7 +745,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -762,7 +762,7 @@ type ScatterpolarglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -787,13 +787,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -806,7 +806,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -819,7 +819,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -833,7 +833,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -847,13 +847,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -864,7 +864,7 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -877,13 +877,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -896,7 +896,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScatterpolarglMarkerLine @@ -906,31 +906,31 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -942,7 +942,7 @@ type ScatterpolarglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -954,25 +954,25 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarglMarker @@ -982,43 +982,43 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1030,7 +1030,7 @@ type ScatterpolarglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1047,7 +1047,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1058,37 +1058,37 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1101,13 +1101,13 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1120,7 +1120,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarglSelectedMarker @@ -1136,13 +1136,13 @@ type ScatterpolarglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglSelectedTextfont @@ -1176,13 +1176,13 @@ type ScatterpolarglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarglTextfont Sets the text font. @@ -1198,31 +1198,31 @@ type ScatterpolarglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarglTransform 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. @@ -1242,13 +1242,13 @@ type ScatterpolarglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/scattersmith_gen.go b/generated/v2.19.0/graph_objects/scattersmith_gen.go index da6a560..6e56dc4 100644 --- a/generated/v2.19.0/graph_objects/scattersmith_gen.go +++ b/generated/v2.19.0/graph_objects/scattersmith_gen.go @@ -32,13 +32,13 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,7 +52,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -78,7 +78,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -96,25 +96,25 @@ type Scattersmith struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -128,7 +128,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Imag // arrayOK: false @@ -142,13 +142,13 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `imag`. - Imagsrc types.String `json:"imagsrc,omitempty"` + Imagsrc types.StringType `json:"imagsrc,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -159,13 +159,13 @@ type Scattersmith struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -187,7 +187,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -200,13 +200,13 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Real // arrayOK: false @@ -220,7 +220,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `real`. - Realsrc types.String `json:"realsrc,omitempty"` + Realsrc types.StringType `json:"realsrc,omitempty"` // Selected // arrayOK: false @@ -237,7 +237,7 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -248,13 +248,13 @@ type Scattersmith struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a smith subplot. If *smith* (the default value), the data refer to `layout.smith`. If *smith2*, the data refer to `layout.smith2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -272,25 +272,25 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `real`, `imag` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -301,7 +301,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -335,31 +335,31 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattersmithHoverlabel @@ -376,7 +376,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -388,7 +388,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -400,7 +400,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -411,13 +411,13 @@ type ScattersmithHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattersmithLegendgrouptitleFont Sets this legend group's title font. @@ -433,13 +433,13 @@ type ScattersmithLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithLegendgrouptitle @@ -454,7 +454,7 @@ type ScattersmithLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithLine @@ -464,13 +464,13 @@ type ScattersmithLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -482,7 +482,7 @@ type ScattersmithLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -495,13 +495,13 @@ type ScattersmithLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattersmithMarkerColorbarTickfont Sets the color bar's tick label font @@ -517,13 +517,13 @@ type ScattersmithMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithMarkerColorbarTickformatstop @@ -539,25 +539,25 @@ type ScattersmithMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattersmithMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -573,13 +573,13 @@ type ScattersmithMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithMarkerColorbarTitle @@ -601,7 +601,7 @@ type ScattersmithMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithMarkerColorbar @@ -623,7 +623,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -648,7 +648,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -661,13 +661,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -686,13 +686,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -705,7 +705,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -725,7 +725,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -744,7 +744,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -761,7 +761,7 @@ type ScattersmithMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -786,13 +786,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -805,7 +805,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -818,7 +818,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -832,7 +832,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -846,13 +846,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -863,7 +863,7 @@ type ScattersmithMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -876,13 +876,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -895,7 +895,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScattersmithMarkerGradient @@ -911,7 +911,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -924,7 +924,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattersmithMarkerLine @@ -934,31 +934,31 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -970,7 +970,7 @@ type ScattersmithMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -982,25 +982,25 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattersmithMarker @@ -1010,7 +1010,7 @@ type ScattersmithMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1023,37 +1023,37 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1065,7 +1065,7 @@ type ScattersmithMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1082,7 +1082,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1098,43 +1098,43 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1147,25 +1147,25 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1178,7 +1178,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattersmithSelectedMarker @@ -1194,13 +1194,13 @@ type ScattersmithSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithSelectedTextfont @@ -1234,13 +1234,13 @@ type ScattersmithStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattersmithTextfont Sets the text font. @@ -1256,31 +1256,31 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattersmithTransform 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. @@ -1300,13 +1300,13 @@ type ScattersmithUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/scatterternary_gen.go b/generated/v2.19.0/graph_objects/scatterternary_gen.go index 43bda6e..630938f 100644 --- a/generated/v2.19.0/graph_objects/scatterternary_gen.go +++ b/generated/v2.19.0/graph_objects/scatterternary_gen.go @@ -40,7 +40,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,7 +54,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // C // arrayOK: false @@ -68,19 +68,19 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Csrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `c`. - Csrc types.String `json:"csrc,omitempty"` + Csrc types.StringType `json:"csrc,omitempty"` // Customdata // arrayOK: false @@ -94,7 +94,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -120,7 +120,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -138,25 +138,25 @@ type Scatterternary struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (a,b,c) 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,c). To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -170,13 +170,13 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -187,13 +187,13 @@ type Scatterternary struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -215,7 +215,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -228,13 +228,13 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the trace name. The trace name appear as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -251,7 +251,7 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -262,19 +262,19 @@ type Scatterternary struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a ternary subplot. If *ternary* (the default value), the data refer to `layout.ternary`. If *ternary2*, the data refer to `layout.ternary2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Sum // arrayOK: false // type: number // The number each triplet should sum to, if only two of `a`, `b`, and `c` are provided. This overrides `ternary.sum` to normalize this specific trace, but does not affect the values displayed on the axes. 0 (or missing) means to use ternary.sum - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (a,b,c) 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,c). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -292,25 +292,25 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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`, `c` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -321,7 +321,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -355,31 +355,31 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterternaryHoverlabel @@ -396,7 +396,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -408,7 +408,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -420,7 +420,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -431,13 +431,13 @@ type ScatterternaryHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterternaryLegendgrouptitleFont Sets this legend group's title font. @@ -453,13 +453,13 @@ type ScatterternaryLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryLegendgrouptitle @@ -474,7 +474,7 @@ type ScatterternaryLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryLine @@ -484,13 +484,13 @@ type ScatterternaryLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -502,7 +502,7 @@ type ScatterternaryLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -515,13 +515,13 @@ type ScatterternaryLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterternaryMarkerColorbarTickfont Sets the color bar's tick label font @@ -537,13 +537,13 @@ type ScatterternaryMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryMarkerColorbarTickformatstop @@ -559,25 +559,25 @@ type ScatterternaryMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterternaryMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -593,13 +593,13 @@ type ScatterternaryMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryMarkerColorbarTitle @@ -621,7 +621,7 @@ type ScatterternaryMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryMarkerColorbar @@ -643,7 +643,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -668,7 +668,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -681,13 +681,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -706,13 +706,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -725,7 +725,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -745,7 +745,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -764,7 +764,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -781,7 +781,7 @@ type ScatterternaryMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -806,13 +806,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -825,7 +825,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -838,7 +838,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -852,7 +852,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -866,13 +866,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -883,7 +883,7 @@ type ScatterternaryMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -896,13 +896,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -915,7 +915,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // ScatterternaryMarkerGradient @@ -931,7 +931,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -944,7 +944,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterternaryMarkerLine @@ -954,31 +954,31 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -990,7 +990,7 @@ type ScatterternaryMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1002,25 +1002,25 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterternaryMarker @@ -1030,7 +1030,7 @@ type ScatterternaryMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1043,37 +1043,37 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1085,7 +1085,7 @@ type ScatterternaryMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1102,7 +1102,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1118,43 +1118,43 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1167,25 +1167,25 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1198,7 +1198,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterternarySelectedMarker @@ -1214,13 +1214,13 @@ type ScatterternarySelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternarySelectedTextfont @@ -1254,13 +1254,13 @@ type ScatterternaryStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterternaryTextfont Sets the text font. @@ -1276,31 +1276,31 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterternaryTransform 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. @@ -1320,13 +1320,13 @@ type ScatterternaryUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryUnselectedTextfont diff --git a/generated/v2.19.0/graph_objects/splom_gen.go b/generated/v2.19.0/graph_objects/splom_gen.go index 178cdf4..0084db2 100644 --- a/generated/v2.19.0/graph_objects/splom_gen.go +++ b/generated/v2.19.0/graph_objects/splom_gen.go @@ -40,7 +40,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Diagonal // arrayOK: false @@ -63,7 +63,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -74,25 +74,25 @@ type Splom struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -106,13 +106,13 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -123,13 +123,13 @@ type Splom struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -146,19 +146,19 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -175,19 +175,19 @@ type Splom struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showlowerhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the lower half from the diagonal are displayed. - Showlowerhalf types.Bool `json:"showlowerhalf,omitempty"` + Showlowerhalf types.BoolType `json:"showlowerhalf,omitempty"` // Showupperhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the upper half from the diagonal are displayed. - Showupperhalf types.Bool `json:"showupperhalf,omitempty"` + Showupperhalf types.BoolType `json:"showupperhalf,omitempty"` // Stream // arrayOK: false @@ -198,13 +198,13 @@ type Splom struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair to appear on hover. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -215,7 +215,7 @@ type Splom struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -245,7 +245,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Yaxes // arrayOK: false @@ -257,7 +257,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // SplomDiagonal @@ -267,7 +267,7 @@ type SplomDiagonal struct { // arrayOK: false // type: boolean // Determines whether or not subplots on the diagonal are displayed. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // DimensionAxis @@ -277,7 +277,7 @@ type DimensionAxis struct { // arrayOK: false // type: boolean // Determines whether or not the x & y axes generated by this dimension match. Equivalent to setting the `matches` axis attribute in the layout with the correct axis id. - Matches types.Bool `json:"matches,omitempty"` + Matches types.BoolType `json:"matches,omitempty"` // Type // arrayOK: false @@ -299,19 +299,19 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the label corresponding to this splom dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -325,13 +325,13 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this dimension is shown on the graph. Note that even visible false dimension contribute to the default grid generate by this splom trace. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SplomHoverlabelFont Sets the font used in hover labels. @@ -347,31 +347,31 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SplomHoverlabel @@ -388,7 +388,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -400,7 +400,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -412,7 +412,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -423,13 +423,13 @@ type SplomHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SplomLegendgrouptitleFont Sets this legend group's title font. @@ -445,13 +445,13 @@ type SplomLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomLegendgrouptitle @@ -466,7 +466,7 @@ type SplomLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbarTickfont Sets the color bar's tick label font @@ -482,13 +482,13 @@ type SplomMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomMarkerColorbarTickformatstop @@ -504,25 +504,25 @@ type SplomMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SplomMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -538,13 +538,13 @@ type SplomMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomMarkerColorbarTitle @@ -566,7 +566,7 @@ type SplomMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbar @@ -588,7 +588,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -613,7 +613,7 @@ type SplomMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -626,13 +626,13 @@ type SplomMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -651,13 +651,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -670,7 +670,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -690,7 +690,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -709,7 +709,7 @@ type SplomMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -726,7 +726,7 @@ type SplomMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -751,13 +751,13 @@ type SplomMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -770,7 +770,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -783,7 +783,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -797,7 +797,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -811,13 +811,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -828,7 +828,7 @@ type SplomMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -841,13 +841,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -860,7 +860,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // SplomMarkerLine @@ -870,31 +870,31 @@ type SplomMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -906,7 +906,7 @@ type SplomMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -918,25 +918,25 @@ type SplomMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SplomMarker @@ -946,43 +946,43 @@ type SplomMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -994,7 +994,7 @@ type SplomMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1011,7 +1011,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1022,37 +1022,37 @@ type SplomMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1065,13 +1065,13 @@ type SplomMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1084,7 +1084,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // SplomSelectedMarker @@ -1100,13 +1100,13 @@ type SplomSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomSelected @@ -1125,13 +1125,13 @@ type SplomStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SplomTransform 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. @@ -1151,13 +1151,13 @@ type SplomUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomUnselected diff --git a/generated/v2.19.0/graph_objects/streamtube_gen.go b/generated/v2.19.0/graph_objects/streamtube_gen.go index 353a161..aeb7685 100644 --- a/generated/v2.19.0/graph_objects/streamtube_gen.go +++ b/generated/v2.19.0/graph_objects/streamtube_gen.go @@ -32,37 +32,37 @@ type Streamtube struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -87,7 +87,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,19 +111,19 @@ type Streamtube struct { // 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. variables `tubex`, `tubey`, `tubez`, `tubeu`, `tubev`, `tubew`, `norm` and `divergence`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false // type: string // Same as `text`. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,omitempty"` // Ids // arrayOK: false @@ -137,13 +137,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -154,13 +154,13 @@ type Streamtube struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -176,7 +176,7 @@ type Streamtube struct { // arrayOK: false // type: integer // The maximum number of displayed segments in a streamtube. - Maxdisplayed int64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.IntegerType `json:"maxdisplayed,omitempty"` // Meta // arrayOK: true @@ -188,49 +188,49 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizeref // arrayOK: false // type: number // The scaling factor for the streamtubes. The default is 1, which avoids two max divergence tubes from touching at adjacent starting positions. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Starts // arrayOK: false @@ -246,7 +246,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets a text element associated with this trace. If trace `hoverinfo` contains a *text* flag, this text element will be seen in all hover labels. Note that streamtube traces do not support array `text` values. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // U // arrayOK: false @@ -260,13 +260,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -278,7 +278,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -292,7 +292,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -305,7 +305,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -319,13 +319,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -339,13 +339,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -359,13 +359,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -379,13 +379,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeColorbarTickfont Sets the color bar's tick label font @@ -401,13 +401,13 @@ type StreamtubeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeColorbarTickformatstop @@ -423,25 +423,25 @@ type StreamtubeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // StreamtubeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -457,13 +457,13 @@ type StreamtubeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeColorbarTitle @@ -485,7 +485,7 @@ type StreamtubeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeColorbar @@ -507,7 +507,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -532,7 +532,7 @@ type StreamtubeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -545,13 +545,13 @@ type StreamtubeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -570,13 +570,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -589,7 +589,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -609,7 +609,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -628,7 +628,7 @@ type StreamtubeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -645,7 +645,7 @@ type StreamtubeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -670,13 +670,13 @@ type StreamtubeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -689,7 +689,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -702,7 +702,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -716,7 +716,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -730,13 +730,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -747,7 +747,7 @@ type StreamtubeColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -760,13 +760,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -779,7 +779,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // StreamtubeHoverlabelFont Sets the font used in hover labels. @@ -795,31 +795,31 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // StreamtubeHoverlabel @@ -836,7 +836,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -848,7 +848,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -860,7 +860,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -871,13 +871,13 @@ type StreamtubeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // StreamtubeLegendgrouptitleFont Sets this legend group's title font. @@ -893,13 +893,13 @@ type StreamtubeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeLegendgrouptitle @@ -914,7 +914,7 @@ type StreamtubeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeLighting @@ -924,43 +924,43 @@ type StreamtubeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // StreamtubeLightposition @@ -970,19 +970,19 @@ type StreamtubeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // StreamtubeStarts @@ -1000,7 +1000,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -1014,7 +1014,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -1028,7 +1028,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeStream @@ -1038,13 +1038,13 @@ type StreamtubeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // StreamtubeColorbarExponentformat 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. diff --git a/generated/v2.19.0/graph_objects/sunburst_gen.go b/generated/v2.19.0/graph_objects/sunburst_gen.go index 10103e1..cc2d2d6 100644 --- a/generated/v2.19.0/graph_objects/sunburst_gen.go +++ b/generated/v2.19.0/graph_objects/sunburst_gen.go @@ -54,7 +54,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Sunburst struct { // 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. variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -141,7 +141,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -157,13 +157,13 @@ type Sunburst struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -180,7 +180,7 @@ type Sunburst struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -192,19 +192,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -223,7 +223,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Root // arrayOK: false @@ -234,13 +234,13 @@ type Sunburst struct { // arrayOK: false // type: angle // Rotates the whole diagram counterclockwise by some angle. By default the first slice starts at 3 o'clock. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -271,19 +271,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -294,7 +294,7 @@ type Sunburst struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -314,7 +314,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -331,13 +331,13 @@ type SunburstDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sunburst trace . - Column int64 `json:"column,omitempty"` + 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 sunburst trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -365,31 +365,31 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstHoverlabel @@ -406,7 +406,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -418,7 +418,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -430,7 +430,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -441,13 +441,13 @@ type SunburstHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SunburstInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -463,31 +463,31 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstLeaf @@ -497,7 +497,7 @@ type SunburstLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // SunburstLegendgrouptitleFont Sets this legend group's title font. @@ -513,13 +513,13 @@ type SunburstLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstLegendgrouptitle @@ -534,7 +534,7 @@ type SunburstLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbarTickfont Sets the color bar's tick label font @@ -550,13 +550,13 @@ type SunburstMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstMarkerColorbarTickformatstop @@ -572,25 +572,25 @@ type SunburstMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SunburstMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -606,13 +606,13 @@ type SunburstMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstMarkerColorbarTitle @@ -634,7 +634,7 @@ type SunburstMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbar @@ -656,7 +656,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -681,7 +681,7 @@ type SunburstMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -694,13 +694,13 @@ type SunburstMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -719,13 +719,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -738,7 +738,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -758,7 +758,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -777,7 +777,7 @@ type SunburstMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -794,7 +794,7 @@ type SunburstMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -819,13 +819,13 @@ type SunburstMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -838,7 +838,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -851,7 +851,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -865,7 +865,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -879,13 +879,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -896,7 +896,7 @@ type SunburstMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -909,13 +909,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -928,7 +928,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // SunburstMarkerLine @@ -944,19 +944,19 @@ type SunburstMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SunburstMarker @@ -966,37 +966,37 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1021,7 +1021,7 @@ type SunburstMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1032,13 +1032,13 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // SunburstOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented at the center of a sunburst graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1054,31 +1054,31 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstRoot @@ -1098,13 +1098,13 @@ type SunburstStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SunburstTextfont Sets the font used for `textinfo`. @@ -1120,31 +1120,31 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstTransform 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. diff --git a/generated/v2.19.0/graph_objects/surface_gen.go b/generated/v2.19.0/graph_objects/surface_gen.go index 5d8e176..2da63d3 100644 --- a/generated/v2.19.0/graph_objects/surface_gen.go +++ b/generated/v2.19.0/graph_objects/surface_gen.go @@ -32,37 +32,37 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 z or surfacecolor) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as z or surfacecolor. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -79,7 +79,7 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -98,13 +98,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hidesurface // arrayOK: false // type: boolean // Determines whether or not a surface is drawn. For example, set `hidesurface` to *false* `contours.x.show` to *true* and `contours.y.show` to *true* to draw a wire frame plot. - Hidesurface types.Bool `json:"hidesurface,omitempty"` + Hidesurface types.BoolType `json:"hidesurface,omitempty"` // Hoverinfo // arrayOK: true @@ -117,7 +117,7 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -128,25 +128,25 @@ type Surface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -160,13 +160,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -177,13 +177,13 @@ type Surface struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -205,19 +205,19 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -229,25 +229,25 @@ type Surface struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -266,25 +266,25 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `surfacecolor`. - Surfacecolorsrc types.String `json:"surfacecolorsrc,omitempty"` + Surfacecolorsrc types.StringType `json:"surfacecolorsrc,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each z value. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -318,13 +318,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -345,13 +345,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -372,13 +372,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // SurfaceColorbarTickfont Sets the color bar's tick label font @@ -394,13 +394,13 @@ type SurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceColorbarTickformatstop @@ -416,25 +416,25 @@ type SurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -450,13 +450,13 @@ type SurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceColorbarTitle @@ -478,7 +478,7 @@ type SurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceColorbar @@ -500,7 +500,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -525,7 +525,7 @@ type SurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -538,13 +538,13 @@ type SurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -563,13 +563,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -582,7 +582,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -602,7 +602,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -621,7 +621,7 @@ type SurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -638,7 +638,7 @@ type SurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -663,13 +663,13 @@ type SurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -682,7 +682,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -695,7 +695,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -709,7 +709,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -723,13 +723,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -740,7 +740,7 @@ type SurfaceColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -753,13 +753,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -772,7 +772,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // SurfaceContoursXProject @@ -782,19 +782,19 @@ type SurfaceContoursXProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursX @@ -810,13 +810,13 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -828,7 +828,7 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -839,31 +839,31 @@ type SurfaceContoursX struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursYProject @@ -873,19 +873,19 @@ type SurfaceContoursYProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursY @@ -901,13 +901,13 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -919,7 +919,7 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -930,31 +930,31 @@ type SurfaceContoursY struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursZProject @@ -964,19 +964,19 @@ type SurfaceContoursZProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursZ @@ -992,13 +992,13 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -1010,7 +1010,7 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -1021,31 +1021,31 @@ type SurfaceContoursZ struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContours @@ -1080,31 +1080,31 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SurfaceHoverlabel @@ -1121,7 +1121,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1133,7 +1133,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1145,7 +1145,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1156,13 +1156,13 @@ type SurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -1178,13 +1178,13 @@ type SurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceLegendgrouptitle @@ -1199,7 +1199,7 @@ type SurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceLighting @@ -1209,31 +1209,31 @@ type SurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` } // SurfaceLightposition @@ -1243,19 +1243,19 @@ type SurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // SurfaceStream @@ -1265,13 +1265,13 @@ type SurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SurfaceColorbarExponentformat 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. diff --git a/generated/v2.19.0/graph_objects/table_gen.go b/generated/v2.19.0/graph_objects/table_gen.go index 0abae24..c786ac4 100644 --- a/generated/v2.19.0/graph_objects/table_gen.go +++ b/generated/v2.19.0/graph_objects/table_gen.go @@ -45,19 +45,19 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnorder`. - Columnordersrc types.String `json:"columnordersrc,omitempty"` + Columnordersrc types.StringType `json:"columnordersrc,omitempty"` // Columnwidth // arrayOK: true // type: number // The width of columns expressed as a ratio. Columns fill the available width in proportion of their specified column widths. - Columnwidth *types.ArrayOK[*float64] `json:"columnwidth,omitempty"` + Columnwidth *types.ArrayOK[*types.NumberType] `json:"columnwidth,omitempty"` // Columnwidthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnwidth`. - Columnwidthsrc types.String `json:"columnwidthsrc,omitempty"` + Columnwidthsrc types.StringType `json:"columnwidthsrc,omitempty"` // Customdata // arrayOK: false @@ -71,7 +71,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -94,7 +94,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -113,7 +113,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legendgrouptitle // arrayOK: false @@ -124,13 +124,13 @@ type Table struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -142,13 +142,13 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Stream // arrayOK: false @@ -159,7 +159,7 @@ type Table struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -188,7 +188,7 @@ type TableCellsFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableCellsFont @@ -204,31 +204,31 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableCellsLine @@ -244,19 +244,19 @@ type TableCellsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableCells @@ -273,7 +273,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -297,13 +297,13 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -314,25 +314,25 @@ type TableCells struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -346,7 +346,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableDomain @@ -356,13 +356,13 @@ type TableDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this table trace . - Column int64 `json:"column,omitempty"` + 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 table trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -390,7 +390,7 @@ type TableHeaderFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableHeaderFont @@ -406,31 +406,31 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableHeaderLine @@ -446,19 +446,19 @@ type TableHeaderLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableHeader @@ -475,7 +475,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -499,13 +499,13 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -516,25 +516,25 @@ type TableHeader struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -548,7 +548,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableHoverlabelFont Sets the font used in hover labels. @@ -564,31 +564,31 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableHoverlabel @@ -605,7 +605,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -617,7 +617,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -629,7 +629,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -640,13 +640,13 @@ type TableHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TableLegendgrouptitleFont Sets this legend group's title font. @@ -662,13 +662,13 @@ type TableLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TableLegendgrouptitle @@ -683,7 +683,7 @@ type TableLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TableStream @@ -693,13 +693,13 @@ type TableStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TableCellsAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.19.0/graph_objects/treemap_gen.go b/generated/v2.19.0/graph_objects/treemap_gen.go index b6cd5fb..4a523f7 100644 --- a/generated/v2.19.0/graph_objects/treemap_gen.go +++ b/generated/v2.19.0/graph_objects/treemap_gen.go @@ -54,7 +54,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Treemap struct { // 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. variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,7 +134,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legendgrouptitle // arrayOK: false @@ -145,13 +145,13 @@ type Treemap struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -168,7 +168,7 @@ type Treemap struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -180,19 +180,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -211,7 +211,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -227,7 +227,7 @@ type Treemap struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -265,19 +265,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -293,7 +293,7 @@ type Treemap struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -313,7 +313,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -330,13 +330,13 @@ type TreemapDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this treemap trace . - Column int64 `json:"column,omitempty"` + 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 treemap trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -364,31 +364,31 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapHoverlabel @@ -405,7 +405,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -417,7 +417,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -429,7 +429,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -440,13 +440,13 @@ type TreemapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TreemapInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -462,31 +462,31 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapLegendgrouptitleFont Sets this legend group's title font. @@ -502,13 +502,13 @@ type TreemapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapLegendgrouptitle @@ -523,7 +523,7 @@ type TreemapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbarTickfont Sets the color bar's tick label font @@ -539,13 +539,13 @@ type TreemapMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapMarkerColorbarTickformatstop @@ -561,25 +561,25 @@ type TreemapMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // TreemapMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -595,13 +595,13 @@ type TreemapMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapMarkerColorbarTitle @@ -623,7 +623,7 @@ type TreemapMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbar @@ -645,7 +645,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -670,7 +670,7 @@ type TreemapMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -683,13 +683,13 @@ type TreemapMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -708,13 +708,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -727,7 +727,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -747,7 +747,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -766,7 +766,7 @@ type TreemapMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -783,7 +783,7 @@ type TreemapMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -808,13 +808,13 @@ type TreemapMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -827,7 +827,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -840,7 +840,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -854,7 +854,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -868,13 +868,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -885,7 +885,7 @@ type TreemapMarkerColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -898,13 +898,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -917,7 +917,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // TreemapMarkerLine @@ -933,19 +933,19 @@ type TreemapMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TreemapMarkerPad @@ -955,25 +955,25 @@ type TreemapMarkerPad struct { // arrayOK: false // type: number // Sets the padding form the bottom (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the padding form the left (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // Sets the padding form the right (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the padding form the top (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // TreemapMarker @@ -983,37 +983,37 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1038,13 +1038,13 @@ type TreemapMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Cornerradius // arrayOK: false // type: number // Sets the maximum rounding of corners (in px). - Cornerradius float64 `json:"cornerradius,omitempty"` + Cornerradius types.NumberType `json:"cornerradius,omitempty"` // Depthfade // arrayOK: false @@ -1067,13 +1067,13 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // TreemapOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1089,31 +1089,31 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapPathbarTextfont Sets the font used inside `pathbar`. @@ -1129,31 +1129,31 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapPathbar @@ -1182,13 +1182,13 @@ type TreemapPathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // TreemapRoot @@ -1208,13 +1208,13 @@ type TreemapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TreemapTextfont Sets the font used for `textinfo`. @@ -1230,31 +1230,31 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapTiling @@ -1278,13 +1278,13 @@ type TreemapTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Squarifyratio // arrayOK: false // type: number // When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/v3.1.1/README.md#squarify_ratio this option specifies the desired aspect ratio of the generated rectangles. The ratio must be specified as a number greater than or equal to one. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio; for example, a ratio of two will attempt to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2. When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034, Plotly applies 1 to increase squares in treemap layouts. - Squarifyratio float64 `json:"squarifyratio,omitempty"` + Squarifyratio types.NumberType `json:"squarifyratio,omitempty"` } // TreemapTransform 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. diff --git a/generated/v2.19.0/graph_objects/violin_gen.go b/generated/v2.19.0/graph_objects/violin_gen.go index aed86a5..76dcd2b 100644 --- a/generated/v2.19.0/graph_objects/violin_gen.go +++ b/generated/v2.19.0/graph_objects/violin_gen.go @@ -32,13 +32,13 @@ type Violin struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Bandwidth // arrayOK: false // type: number // Sets the bandwidth used to compute the kernel density estimate. By default, the bandwidth is determined by Silverman's rule of thumb. - Bandwidth float64 `json:"bandwidth,omitempty"` + Bandwidth types.NumberType `json:"bandwidth,omitempty"` // Box // arrayOK: false @@ -57,7 +57,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fillcolor // arrayOK: false @@ -76,7 +76,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Violin struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,19 +126,19 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the violins. - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -149,13 +149,13 @@ type Violin struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -182,25 +182,25 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. For violin traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical. Note that the trace name is also used as a default value for attribute `scalegroup` (please see its description for details). - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -213,7 +213,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the violins. If *0*, the sample points are places over the center of the violins. Positive (negative) values correspond to positions to the right (left) for vertical violins and above (below) for horizontal violins. - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Points // arrayOK: false @@ -233,7 +233,7 @@ type Violin struct { // arrayOK: false // type: string // If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non-empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to the trace's name. In this case, violins with the same names will be linked together - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Scalemode // arrayOK: false @@ -257,7 +257,7 @@ type Violin struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Side // arrayOK: false @@ -288,13 +288,13 @@ type Violin struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -305,7 +305,7 @@ type Violin struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -329,7 +329,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the width of the violin in data coordinates. If *0* (default value) the width is automatically selected based on the positions of other violin traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -349,19 +349,19 @@ type Violin struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -381,19 +381,19 @@ type Violin struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ViolinBoxLine @@ -409,7 +409,7 @@ type ViolinBoxLine struct { // arrayOK: false // type: number // Sets the inner box plot bounding line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinBox @@ -430,13 +430,13 @@ type ViolinBox struct { // arrayOK: false // type: boolean // Determines if an miniature box plot is drawn inside the violins. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the inner box plots relative to the violins' width. For example, with 1, the inner box plots are as wide as the violins. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinHoverlabelFont Sets the font used in hover labels. @@ -452,31 +452,31 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ViolinHoverlabel @@ -493,7 +493,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -505,7 +505,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -517,7 +517,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -528,13 +528,13 @@ type ViolinHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ViolinLegendgrouptitleFont Sets this legend group's title font. @@ -550,13 +550,13 @@ type ViolinLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinLegendgrouptitle @@ -571,7 +571,7 @@ type ViolinLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ViolinLine @@ -587,7 +587,7 @@ type ViolinLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the violin(s). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarkerLine @@ -609,13 +609,13 @@ type ViolinMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarker @@ -625,7 +625,7 @@ type ViolinMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -642,7 +642,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -654,7 +654,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -677,13 +677,13 @@ type ViolinMeanline struct { // arrayOK: false // type: boolean // Determines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the mean line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinSelectedMarker @@ -699,13 +699,13 @@ type ViolinSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinSelected @@ -724,13 +724,13 @@ type ViolinStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ViolinTransform 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. @@ -750,13 +750,13 @@ type ViolinUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinUnselected diff --git a/generated/v2.19.0/graph_objects/volume_gen.go b/generated/v2.19.0/graph_objects/volume_gen.go index 679f8bc..0d243c8 100644 --- a/generated/v2.19.0/graph_objects/volume_gen.go +++ b/generated/v2.19.0/graph_objects/volume_gen.go @@ -32,7 +32,7 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Volume struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,25 +159,25 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -188,13 +188,13 @@ type Volume struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -216,19 +216,19 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -240,25 +240,25 @@ type Volume struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -284,19 +284,19 @@ type Volume struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -316,13 +316,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -343,13 +343,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -363,13 +363,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -383,13 +383,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // VolumeCapsX @@ -399,13 +399,13 @@ type VolumeCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsY @@ -415,13 +415,13 @@ type VolumeCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsZ @@ -431,13 +431,13 @@ type VolumeCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCaps @@ -472,13 +472,13 @@ type VolumeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeColorbarTickformatstop @@ -494,25 +494,25 @@ type VolumeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // VolumeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -528,13 +528,13 @@ type VolumeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeColorbarTitle @@ -556,7 +556,7 @@ type VolumeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeColorbar @@ -578,7 +578,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -603,7 +603,7 @@ type VolumeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -616,13 +616,13 @@ type VolumeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -641,13 +641,13 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -660,7 +660,7 @@ type VolumeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -680,7 +680,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -699,7 +699,7 @@ type VolumeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -716,7 +716,7 @@ type VolumeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -741,13 +741,13 @@ type VolumeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -760,7 +760,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -773,7 +773,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -787,7 +787,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -801,13 +801,13 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -818,7 +818,7 @@ type VolumeColorbar struct { // 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*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -831,13 +831,13 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + 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*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -850,7 +850,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` } // VolumeContour @@ -866,13 +866,13 @@ type VolumeContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // VolumeHoverlabelFont Sets the font used in hover labels. @@ -888,31 +888,31 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // VolumeHoverlabel @@ -929,7 +929,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -941,7 +941,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -953,7 +953,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -964,13 +964,13 @@ type VolumeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // VolumeLegendgrouptitleFont Sets this legend group's title font. @@ -986,13 +986,13 @@ type VolumeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeLegendgrouptitle @@ -1007,7 +1007,7 @@ type VolumeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeLighting @@ -1017,43 +1017,43 @@ type VolumeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // VolumeLightposition @@ -1063,19 +1063,19 @@ type VolumeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // VolumeSlicesX @@ -1085,7 +1085,7 @@ type VolumeSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1099,13 +1099,13 @@ type VolumeSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesY @@ -1115,7 +1115,7 @@ type VolumeSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1129,13 +1129,13 @@ type VolumeSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesZ @@ -1145,7 +1145,7 @@ type VolumeSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1159,13 +1159,13 @@ type VolumeSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlices @@ -1194,13 +1194,13 @@ type VolumeSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 1 meaning that they are entirely shaded. Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeStream @@ -1210,13 +1210,13 @@ type VolumeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // VolumeSurface @@ -1226,13 +1226,13 @@ type VolumeSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1245,7 +1245,7 @@ type VolumeSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeColorbarExponentformat 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. diff --git a/generated/v2.19.0/graph_objects/waterfall_gen.go b/generated/v2.19.0/graph_objects/waterfall_gen.go index fb86e81..ebc166a 100644 --- a/generated/v2.19.0/graph_objects/waterfall_gen.go +++ b/generated/v2.19.0/graph_objects/waterfall_gen.go @@ -32,19 +32,19 @@ type Waterfall struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: false // type: number // Sets where the bar base is drawn (in position axis units). - Base float64 `json:"base,omitempty"` + Base types.NumberType `json:"base,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -70,7 +70,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -81,13 +81,13 @@ type Waterfall struct { // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,25 +111,25 @@ type Waterfall struct { // 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. variables `initial`, `delta` and `final`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -143,7 +143,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -166,7 +166,7 @@ type Waterfall struct { // 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. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -177,13 +177,13 @@ type Waterfall struct { // 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Measure // arrayOK: false @@ -197,7 +197,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `measure`. - Measuresrc types.String `json:"measuresrc,omitempty"` + Measuresrc types.StringType `json:"measuresrc,omitempty"` // Meta // arrayOK: true @@ -209,37 +209,37 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -263,7 +263,7 @@ type Waterfall struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -274,13 +274,13 @@ type Waterfall struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -305,25 +305,25 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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 `initial`, `delta`, `final` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Totals // arrayOK: false @@ -339,7 +339,7 @@ type Waterfall struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -358,13 +358,13 @@ type Waterfall struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -384,13 +384,13 @@ type Waterfall struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -415,7 +415,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -435,13 +435,13 @@ type Waterfall struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -466,7 +466,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // WaterfallConnectorLine @@ -482,13 +482,13 @@ type WaterfallConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallConnector @@ -510,7 +510,7 @@ type WaterfallConnector struct { // arrayOK: false // type: boolean // Determines if connector lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // WaterfallDecreasingMarkerLine @@ -526,7 +526,7 @@ type WaterfallDecreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all decreasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallDecreasingMarker @@ -566,31 +566,31 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallHoverlabel @@ -607,7 +607,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -619,7 +619,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -631,7 +631,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -642,13 +642,13 @@ type WaterfallHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // WaterfallIncreasingMarkerLine @@ -664,7 +664,7 @@ type WaterfallIncreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all increasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallIncreasingMarker @@ -704,31 +704,31 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallLegendgrouptitleFont Sets this legend group's title font. @@ -744,13 +744,13 @@ type WaterfallLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // WaterfallLegendgrouptitle @@ -765,7 +765,7 @@ type WaterfallLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // WaterfallOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -781,31 +781,31 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallStream @@ -815,13 +815,13 @@ type WaterfallStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // WaterfallTextfont Sets the font used for `text`. @@ -837,31 +837,31 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallTotalsMarkerLine @@ -877,7 +877,7 @@ type WaterfallTotalsMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all intermediate sums and total values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallTotalsMarker diff --git a/generated/v2.29.1/graph_objects/animation_gen.go b/generated/v2.29.1/graph_objects/animation_gen.go index 83415c8..0d0e0ab 100644 --- a/generated/v2.29.1/graph_objects/animation_gen.go +++ b/generated/v2.29.1/graph_objects/animation_gen.go @@ -25,7 +25,7 @@ type Animation struct { // arrayOK: false // type: boolean // Play frames starting at the current frame instead of the beginning. - Fromcurrent types.Bool `json:"fromcurrent,omitempty"` + Fromcurrent types.BoolType `json:"fromcurrent,omitempty"` // Mode // arrayOK: false @@ -47,13 +47,13 @@ type AnimationFrame struct { // arrayOK: false // type: number // The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Redraw // arrayOK: false // type: boolean // Redraw the plot at completion of the transition. This is desirable for transitions that include properties that cannot be transitioned, but may significantly slow down updates that do not require a full redraw of the plot - Redraw types.Bool `json:"redraw,omitempty"` + Redraw types.BoolType `json:"redraw,omitempty"` } // AnimationTransition @@ -63,7 +63,7 @@ type AnimationTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false diff --git a/generated/v2.29.1/graph_objects/bar_gen.go b/generated/v2.29.1/graph_objects/bar_gen.go index b2b4f81..41ffe45 100644 --- a/generated/v2.29.1/graph_objects/bar_gen.go +++ b/generated/v2.29.1/graph_objects/bar_gen.go @@ -32,7 +32,7 @@ type Bar struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: true @@ -44,13 +44,13 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -71,19 +71,19 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -106,7 +106,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -117,25 +117,25 @@ type Bar struct { // 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. Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -149,7 +149,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -167,13 +167,13 @@ type Bar struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -184,13 +184,13 @@ type Bar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -207,37 +207,37 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -266,7 +266,7 @@ type Bar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -277,13 +277,13 @@ type Bar struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -301,25 +301,25 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `value` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -330,7 +330,7 @@ type Bar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -354,13 +354,13 @@ type Bar struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -380,7 +380,7 @@ type Bar struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -393,7 +393,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -418,7 +418,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -438,7 +438,7 @@ type Bar struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -451,7 +451,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -476,7 +476,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // BarErrorX @@ -502,13 +502,13 @@ type BarErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -520,31 +520,31 @@ type BarErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -557,25 +557,25 @@ type BarErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarErrorY @@ -601,13 +601,13 @@ type BarErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -619,25 +619,25 @@ type BarErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -650,25 +650,25 @@ type BarErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarHoverlabelFont Sets the font used in hover labels. @@ -684,31 +684,31 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarHoverlabel @@ -725,7 +725,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -737,7 +737,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -749,7 +749,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -760,13 +760,13 @@ type BarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarInsidetextfont Sets the font used for `text` lying inside the bar. @@ -782,31 +782,31 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarLegendgrouptitleFont Sets this legend group's title font. @@ -822,13 +822,13 @@ type BarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarLegendgrouptitle @@ -843,7 +843,7 @@ type BarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbarTickfont Sets the color bar's tick label font @@ -859,13 +859,13 @@ type BarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarMarkerColorbarTickformatstop @@ -881,25 +881,25 @@ type BarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -915,13 +915,13 @@ type BarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarMarkerColorbarTitle @@ -943,7 +943,7 @@ type BarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbar @@ -965,7 +965,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -990,7 +990,7 @@ type BarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1003,13 +1003,13 @@ type BarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1028,13 +1028,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1047,7 +1047,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1067,7 +1067,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1086,7 +1086,7 @@ type BarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1103,7 +1103,7 @@ type BarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1128,13 +1128,13 @@ type BarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1147,7 +1147,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1160,7 +1160,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1174,7 +1174,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1188,13 +1188,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1205,7 +1205,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1218,7 +1218,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1231,7 +1231,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1244,7 +1244,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1261,31 +1261,31 @@ type BarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1297,7 +1297,7 @@ type BarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1309,25 +1309,25 @@ type BarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarMarkerPattern Sets the pattern within the marker. @@ -1343,7 +1343,7 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1355,13 +1355,13 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1381,31 +1381,31 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarMarker @@ -1415,31 +1415,31 @@ type BarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1451,7 +1451,7 @@ type BarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1468,7 +1468,7 @@ type BarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Cornerradius // arrayOK: false @@ -1485,13 +1485,13 @@ type BarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1502,13 +1502,13 @@ type BarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1524,31 +1524,31 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarSelectedMarker @@ -1564,7 +1564,7 @@ type BarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarSelectedTextfont @@ -1598,13 +1598,13 @@ type BarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarTextfont Sets the font used for `text`. @@ -1620,31 +1620,31 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarTransform 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. @@ -1664,7 +1664,7 @@ type BarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/barpolar_gen.go b/generated/v2.29.1/graph_objects/barpolar_gen.go index 618532f..2a2c8d3 100644 --- a/generated/v2.29.1/graph_objects/barpolar_gen.go +++ b/generated/v2.29.1/graph_objects/barpolar_gen.go @@ -38,7 +38,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Hoverinfo // arrayOK: true @@ -77,7 +77,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -88,25 +88,25 @@ type Barpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -120,19 +120,19 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -143,13 +143,13 @@ type Barpolar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -166,31 +166,31 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the angular position where the bar is drawn (in *thetatunit* units). - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -210,7 +210,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -227,7 +227,7 @@ type Barpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -238,19 +238,19 @@ type Barpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Theta // arrayOK: false @@ -270,7 +270,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -288,7 +288,7 @@ type Barpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -312,13 +312,13 @@ type Barpolar struct { // arrayOK: true // type: number // Sets the bar angular width (in *thetaunit* units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarHoverlabelFont Sets the font used in hover labels. @@ -334,31 +334,31 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarpolarHoverlabel @@ -375,7 +375,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -387,7 +387,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -399,7 +399,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -410,13 +410,13 @@ type BarpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarpolarLegendgrouptitleFont Sets this legend group's title font. @@ -432,13 +432,13 @@ type BarpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarLegendgrouptitle @@ -453,7 +453,7 @@ type BarpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -469,13 +469,13 @@ type BarpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarMarkerColorbarTickformatstop @@ -491,25 +491,25 @@ type BarpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -525,13 +525,13 @@ type BarpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarMarkerColorbarTitle @@ -553,7 +553,7 @@ type BarpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbar @@ -575,7 +575,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -600,7 +600,7 @@ type BarpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -613,13 +613,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -638,13 +638,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -657,7 +657,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -677,7 +677,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -696,7 +696,7 @@ type BarpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -713,7 +713,7 @@ type BarpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -738,13 +738,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -757,7 +757,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -770,7 +770,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -784,7 +784,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -798,13 +798,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -815,7 +815,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -828,7 +828,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -841,7 +841,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -854,7 +854,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -871,31 +871,31 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -907,7 +907,7 @@ type BarpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -919,25 +919,25 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarMarkerPattern Sets the pattern within the marker. @@ -953,7 +953,7 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -965,13 +965,13 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -991,31 +991,31 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarpolarMarker @@ -1025,31 +1025,31 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1061,7 +1061,7 @@ type BarpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1078,7 +1078,7 @@ type BarpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1089,13 +1089,13 @@ type BarpolarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1106,13 +1106,13 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarpolarSelectedMarker @@ -1128,7 +1128,7 @@ type BarpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarSelectedTextfont @@ -1162,13 +1162,13 @@ type BarpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarpolarTransform 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. @@ -1188,7 +1188,7 @@ type BarpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/box_gen.go b/generated/v2.29.1/graph_objects/box_gen.go index 7b09b6a..0a8860f 100644 --- a/generated/v2.29.1/graph_objects/box_gen.go +++ b/generated/v2.29.1/graph_objects/box_gen.go @@ -32,7 +32,7 @@ type Box struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Boxmean // arrayOK: false @@ -60,19 +60,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step for multi-box traces set using q1/median/q3. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step for multi-box traces set using q1/median/q3. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -91,7 +91,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -109,25 +109,25 @@ type Box struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -141,25 +141,25 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the box(es). - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -170,13 +170,13 @@ type Box struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -195,7 +195,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lowerfence`. - Lowerfencesrc types.String `json:"lowerfencesrc,omitempty"` + Lowerfencesrc types.StringType `json:"lowerfencesrc,omitempty"` // Marker // arrayOK: false @@ -214,7 +214,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `mean`. - Meansrc types.String `json:"meansrc,omitempty"` + Meansrc types.StringType `json:"meansrc,omitempty"` // Median // arrayOK: false @@ -228,7 +228,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `median`. - Mediansrc types.String `json:"mediansrc,omitempty"` + Mediansrc types.StringType `json:"mediansrc,omitempty"` // Meta // arrayOK: true @@ -240,19 +240,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. For box traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Notched // arrayOK: false // type: boolean // Determines whether or not notches are drawn. Notches displays a confidence interval around the median. We compute the confidence interval as median +/- 1.57 * IQR / sqrt(N), where IQR is the interquartile range and N is the sample size. If two boxes' notches do not overlap there is 95% confidence their medians differ. See https://sites.google.com/site/davidsstatistics/home/notched-box-plots for more info. Defaults to *false* unless `notchwidth` or `notchspan` is set. - Notched types.Bool `json:"notched,omitempty"` + Notched types.BoolType `json:"notched,omitempty"` // Notchspan // arrayOK: false @@ -266,25 +266,25 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `notchspan`. - Notchspansrc types.String `json:"notchspansrc,omitempty"` + Notchspansrc types.StringType `json:"notchspansrc,omitempty"` // Notchwidth // arrayOK: false // type: number // Sets the width of the notches relative to the box' width. For example, with 0, the notches are as wide as the box(es). - Notchwidth float64 `json:"notchwidth,omitempty"` + Notchwidth types.NumberType `json:"notchwidth,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -297,7 +297,7 @@ type Box struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the box(es). If *0*, the sample points are places over the center of the box(es). Positive (negative) values correspond to positions to the right (left) for vertical boxes and above (below) for horizontal boxes - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Q1 // arrayOK: false @@ -311,7 +311,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q1`. - Q1src types.String `json:"q1src,omitempty"` + Q1src types.StringType `json:"q1src,omitempty"` // Q3 // arrayOK: false @@ -325,7 +325,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q3`. - Q3src types.String `json:"q3src,omitempty"` + Q3src types.StringType `json:"q3src,omitempty"` // Quartilemethod // arrayOK: false @@ -346,13 +346,13 @@ type Box struct { // arrayOK: false // type: number // Scales the box size when sizemode=sd Allowing boxes to be drawn across any stddev range For example 1-stddev, 3-stddev, 5-stddev - Sdmultiple float64 `json:"sdmultiple,omitempty"` + Sdmultiple types.NumberType `json:"sdmultiple,omitempty"` // Sdsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `sd`. - Sdsrc types.String `json:"sdsrc,omitempty"` + Sdsrc types.StringType `json:"sdsrc,omitempty"` // Selected // arrayOK: false @@ -369,13 +369,13 @@ type Box struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showwhiskers // arrayOK: false // type: boolean // Determines whether or not whiskers are visible. Defaults to true for `sizemode` *quartiles*, false for *sd*. - Showwhiskers types.Bool `json:"showwhiskers,omitempty"` + Showwhiskers types.BoolType `json:"showwhiskers,omitempty"` // Sizemode // arrayOK: false @@ -393,13 +393,13 @@ type Box struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -410,7 +410,7 @@ type Box struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -435,7 +435,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `upperfence`. - Upperfencesrc types.String `json:"upperfencesrc,omitempty"` + Upperfencesrc types.StringType `json:"upperfencesrc,omitempty"` // Visible // arrayOK: false @@ -448,13 +448,13 @@ type Box struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the box in data coordinate If *0* (default value) the width is automatically selected based on the positions of other box traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -474,7 +474,7 @@ type Box struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -487,7 +487,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -512,7 +512,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -532,7 +532,7 @@ type Box struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -545,7 +545,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -570,7 +570,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // BoxHoverlabelFont Sets the font used in hover labels. @@ -586,31 +586,31 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BoxHoverlabel @@ -627,7 +627,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -639,7 +639,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -651,7 +651,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -662,13 +662,13 @@ type BoxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BoxLegendgrouptitleFont Sets this legend group's title font. @@ -684,13 +684,13 @@ type BoxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxLegendgrouptitle @@ -705,7 +705,7 @@ type BoxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BoxLine @@ -721,7 +721,7 @@ type BoxLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarkerLine @@ -743,13 +743,13 @@ type BoxMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarker @@ -759,7 +759,7 @@ type BoxMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -776,7 +776,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -788,7 +788,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -811,13 +811,13 @@ type BoxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxSelected @@ -836,13 +836,13 @@ type BoxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BoxTransform 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. @@ -862,13 +862,13 @@ type BoxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxUnselected diff --git a/generated/v2.29.1/graph_objects/candlestick_gen.go b/generated/v2.29.1/graph_objects/candlestick_gen.go index 80633dc..ed7ee1f 100644 --- a/generated/v2.29.1/graph_objects/candlestick_gen.go +++ b/generated/v2.29.1/graph_objects/candlestick_gen.go @@ -40,7 +40,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Candlestick struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,13 +128,13 @@ type Candlestick struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -145,13 +145,13 @@ type Candlestick struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -170,7 +170,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -182,19 +182,19 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -208,7 +208,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -220,7 +220,7 @@ type Candlestick struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -231,13 +231,13 @@ type Candlestick struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -248,7 +248,7 @@ type Candlestick struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -267,7 +267,7 @@ type Candlestick struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // X // arrayOK: false @@ -281,7 +281,7 @@ type Candlestick struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -294,7 +294,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -319,19 +319,19 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // CandlestickDecreasingLine @@ -347,7 +347,7 @@ type CandlestickDecreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickDecreasing @@ -378,31 +378,31 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // CandlestickHoverlabel @@ -419,7 +419,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -431,7 +431,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -443,7 +443,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -454,19 +454,19 @@ type CandlestickHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // CandlestickIncreasingLine @@ -482,7 +482,7 @@ type CandlestickIncreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickIncreasing @@ -513,13 +513,13 @@ type CandlestickLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CandlestickLegendgrouptitle @@ -534,7 +534,7 @@ type CandlestickLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CandlestickLine @@ -544,7 +544,7 @@ type CandlestickLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickStream @@ -554,13 +554,13 @@ type CandlestickStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CandlestickTransform 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. diff --git a/generated/v2.29.1/graph_objects/carpet_gen.go b/generated/v2.29.1/graph_objects/carpet_gen.go index 9c1fca4..a0c743a 100644 --- a/generated/v2.29.1/graph_objects/carpet_gen.go +++ b/generated/v2.29.1/graph_objects/carpet_gen.go @@ -40,7 +40,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `a`. Builds a linear space of a coordinates. Use with `da` where `a0` is the starting coordinate and `da` the step. - A0 float64 `json:"a0,omitempty"` + A0 types.NumberType `json:"a0,omitempty"` // Aaxis // arrayOK: false @@ -51,7 +51,7 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -65,7 +65,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `b`. Builds a linear space of a coordinates. Use with `db` where `b0` is the starting coordinate and `db` the step. - B0 float64 `json:"b0,omitempty"` + B0 types.NumberType `json:"b0,omitempty"` // Baxis // arrayOK: false @@ -76,19 +76,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,omitempty"` // Cheaterslope // arrayOK: false // type: number // The shift applied to each successive row of data in creating a cheater plot. Only used if `x` is been omitted. - Cheaterslope float64 `json:"cheaterslope,omitempty"` + Cheaterslope types.NumberType `json:"cheaterslope,omitempty"` // Color // arrayOK: false @@ -108,19 +108,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the a coordinate step. See `a0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the b coordinate step. See `b0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Font // arrayOK: false @@ -139,13 +139,13 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Carpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -174,19 +174,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Stream // arrayOK: false @@ -197,7 +197,7 @@ type Carpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -224,13 +224,13 @@ type Carpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -244,13 +244,13 @@ type Carpet struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // CarpetAaxisTickfont Sets the tick font. @@ -266,13 +266,13 @@ type CarpetAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetAaxisTickformatstop @@ -288,25 +288,25 @@ type CarpetAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetAaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -322,13 +322,13 @@ type CarpetAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetAaxisTitle @@ -343,13 +343,13 @@ type CarpetAaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetAaxis @@ -359,13 +359,13 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -393,7 +393,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -419,13 +419,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -437,7 +437,7 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -450,7 +450,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -462,13 +462,13 @@ type CarpetAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -480,19 +480,19 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -504,13 +504,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -522,25 +522,25 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -559,7 +559,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -572,13 +572,13 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -605,13 +605,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -623,19 +623,19 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -646,7 +646,7 @@ type CarpetAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -664,13 +664,13 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -684,7 +684,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -698,7 +698,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -726,13 +726,13 @@ type CarpetBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetBaxisTickformatstop @@ -748,25 +748,25 @@ type CarpetBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetBaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -782,13 +782,13 @@ type CarpetBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetBaxisTitle @@ -803,13 +803,13 @@ type CarpetBaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetBaxis @@ -819,13 +819,13 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -853,7 +853,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -879,13 +879,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -897,7 +897,7 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -910,7 +910,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -922,13 +922,13 @@ type CarpetBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -940,19 +940,19 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -964,13 +964,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -982,25 +982,25 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -1019,7 +1019,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1032,13 +1032,13 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -1065,13 +1065,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -1083,19 +1083,19 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -1106,7 +1106,7 @@ type CarpetBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1124,13 +1124,13 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1144,7 +1144,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1158,7 +1158,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -1186,13 +1186,13 @@ type CarpetFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetLegendgrouptitleFont Sets this legend group's title font. @@ -1208,13 +1208,13 @@ type CarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetLegendgrouptitle @@ -1229,7 +1229,7 @@ type CarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetStream @@ -1239,13 +1239,13 @@ type CarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CarpetAaxisAutorange Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to *false*. diff --git a/generated/v2.29.1/graph_objects/choropleth_gen.go b/generated/v2.29.1/graph_objects/choropleth_gen.go index cf2cff0..8cb062d 100644 --- a/generated/v2.29.1/graph_objects/choropleth_gen.go +++ b/generated/v2.29.1/graph_objects/choropleth_gen.go @@ -32,13 +32,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geo // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choropleth struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Choropleth struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locationmode // arrayOK: false @@ -187,7 +187,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -204,19 +204,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -233,13 +233,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -250,13 +250,13 @@ type Choropleth struct { // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -267,7 +267,7 @@ type Choropleth struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -299,31 +299,31 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethColorbarTickfont Sets the color bar's tick label font @@ -339,13 +339,13 @@ type ChoroplethColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethColorbarTickformatstop @@ -361,25 +361,25 @@ type ChoroplethColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -395,13 +395,13 @@ type ChoroplethColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethColorbarTitle @@ -423,7 +423,7 @@ type ChoroplethColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethColorbar @@ -445,7 +445,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -470,7 +470,7 @@ type ChoroplethColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -483,13 +483,13 @@ type ChoroplethColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -508,13 +508,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -527,7 +527,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -547,7 +547,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -566,7 +566,7 @@ type ChoroplethColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -583,7 +583,7 @@ type ChoroplethColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -608,13 +608,13 @@ type ChoroplethColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -627,7 +627,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -640,7 +640,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -654,7 +654,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -668,13 +668,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -685,7 +685,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -698,7 +698,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -711,7 +711,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -724,7 +724,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -747,31 +747,31 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ChoroplethHoverlabel @@ -788,7 +788,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -800,7 +800,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -812,7 +812,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -823,13 +823,13 @@ type ChoroplethHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethLegendgrouptitleFont Sets this legend group's title font. @@ -845,13 +845,13 @@ type ChoroplethLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethLegendgrouptitle @@ -866,7 +866,7 @@ type ChoroplethLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethMarkerLine @@ -882,19 +882,19 @@ type ChoroplethMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethMarker @@ -909,13 +909,13 @@ type ChoroplethMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethSelectedMarker @@ -925,7 +925,7 @@ type ChoroplethSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethSelected @@ -944,13 +944,13 @@ type ChoroplethStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethTransform 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. @@ -964,7 +964,7 @@ type ChoroplethUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethUnselected diff --git a/generated/v2.29.1/graph_objects/choroplethmapbox_gen.go b/generated/v2.29.1/graph_objects/choroplethmapbox_gen.go index a3dd267..dc82f67 100644 --- a/generated/v2.29.1/graph_objects/choroplethmapbox_gen.go +++ b/generated/v2.29.1/graph_objects/choroplethmapbox_gen.go @@ -32,19 +32,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,13 +69,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choroplethmapbox struct { // 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. Finally, the template string has access to variable `properties` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Choroplethmapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locations // arrayOK: false @@ -180,7 +180,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -197,19 +197,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -226,13 +226,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -243,19 +243,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -266,7 +266,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -298,31 +298,31 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethmapboxColorbarTickfont Sets the color bar's tick label font @@ -338,13 +338,13 @@ type ChoroplethmapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxColorbarTickformatstop @@ -360,25 +360,25 @@ type ChoroplethmapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethmapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -394,13 +394,13 @@ type ChoroplethmapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxColorbarTitle @@ -422,7 +422,7 @@ type ChoroplethmapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxColorbar @@ -444,7 +444,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -469,7 +469,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -482,13 +482,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -507,13 +507,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -526,7 +526,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -546,7 +546,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -565,7 +565,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -582,7 +582,7 @@ type ChoroplethmapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -607,13 +607,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -626,7 +626,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -639,7 +639,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -653,7 +653,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -667,13 +667,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -684,7 +684,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -697,7 +697,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -710,7 +710,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -723,7 +723,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -746,31 +746,31 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ChoroplethmapboxHoverlabel @@ -787,7 +787,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -799,7 +799,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -811,7 +811,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -822,13 +822,13 @@ type ChoroplethmapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethmapboxLegendgrouptitleFont Sets this legend group's title font. @@ -844,13 +844,13 @@ type ChoroplethmapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxLegendgrouptitle @@ -865,7 +865,7 @@ type ChoroplethmapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxMarkerLine @@ -881,19 +881,19 @@ type ChoroplethmapboxMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethmapboxMarker @@ -908,13 +908,13 @@ type ChoroplethmapboxMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethmapboxSelectedMarker @@ -924,7 +924,7 @@ type ChoroplethmapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxSelected @@ -943,13 +943,13 @@ type ChoroplethmapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethmapboxTransform 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. @@ -963,7 +963,7 @@ type ChoroplethmapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxUnselected diff --git a/generated/v2.29.1/graph_objects/cone_gen.go b/generated/v2.29.1/graph_objects/cone_gen.go index 3225ecc..af72bf7 100644 --- a/generated/v2.29.1/graph_objects/cone_gen.go +++ b/generated/v2.29.1/graph_objects/cone_gen.go @@ -39,37 +39,37 @@ type Cone struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -94,7 +94,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -107,7 +107,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -118,25 +118,25 @@ type Cone struct { // 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. Finally, the template string has access to variable `norm` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -150,19 +150,19 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -173,13 +173,13 @@ type Cone struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -201,43 +201,43 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizemode // arrayOK: false @@ -250,7 +250,7 @@ type Cone struct { // arrayOK: false // type: number // Adjusts the cone size scaling. The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`. This factor (computed internally) corresponds to the minimum "time" to travel across two successive x/y/z positions at the average velocity of those two successive positions. All cones in a given trace use the same factor. With `sizemode` set to *scaled*, `sizeref` is unitless, its default value is *0.5* With `sizemode` set to *absolute*, `sizeref` has the same units as the u/v/w vector field, its the default value is half the sample's maximum vector norm. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Stream // arrayOK: false @@ -261,13 +261,13 @@ type Cone struct { // arrayOK: true // type: string // Sets the text elements associated with the cones. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // U // arrayOK: false @@ -281,13 +281,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -299,7 +299,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -313,7 +313,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -326,7 +326,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -340,13 +340,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -360,13 +360,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -380,13 +380,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -400,13 +400,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ConeColorbarTickfont Sets the color bar's tick label font @@ -422,13 +422,13 @@ type ConeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeColorbarTickformatstop @@ -444,25 +444,25 @@ type ConeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ConeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -478,13 +478,13 @@ type ConeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeColorbarTitle @@ -506,7 +506,7 @@ type ConeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeColorbar @@ -528,7 +528,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -553,7 +553,7 @@ type ConeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -566,13 +566,13 @@ type ConeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -591,13 +591,13 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -610,7 +610,7 @@ type ConeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -630,7 +630,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -649,7 +649,7 @@ type ConeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -666,7 +666,7 @@ type ConeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -691,13 +691,13 @@ type ConeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -710,7 +710,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -723,7 +723,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -737,7 +737,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -751,13 +751,13 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -768,7 +768,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -781,7 +781,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -794,7 +794,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -807,7 +807,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -830,31 +830,31 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ConeHoverlabel @@ -871,7 +871,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -883,7 +883,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -895,7 +895,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -906,13 +906,13 @@ type ConeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ConeLegendgrouptitleFont Sets this legend group's title font. @@ -928,13 +928,13 @@ type ConeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeLegendgrouptitle @@ -949,7 +949,7 @@ type ConeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeLighting @@ -959,43 +959,43 @@ type ConeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // ConeLightposition @@ -1005,19 +1005,19 @@ type ConeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // ConeStream @@ -1027,13 +1027,13 @@ type ConeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ConeAnchor Sets the cones' anchor with respect to their x/y/z positions. Note that *cm* denote the cone's center of mass which corresponds to 1/4 from the tail to tip. diff --git a/generated/v2.29.1/graph_objects/config_gen.go b/generated/v2.29.1/graph_objects/config_gen.go index 44bb91c..c3a5fcf 100644 --- a/generated/v2.29.1/graph_objects/config_gen.go +++ b/generated/v2.29.1/graph_objects/config_gen.go @@ -13,7 +13,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether the graphs are plotted with respect to layout.autosize:true and infer its container size. - Autosizable types.Bool `json:"autosizable,omitempty"` + Autosizable types.BoolType `json:"autosizable,omitempty"` // DisplayModeBar // arrayOK: false @@ -26,7 +26,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not the plotly logo is displayed on the end of the mode bar. - Displaylogo types.Bool `json:"displaylogo,omitempty"` + Displaylogo types.BoolType `json:"displaylogo,omitempty"` // DoubleClick // arrayOK: false @@ -39,19 +39,19 @@ type Config struct { // arrayOK: false // type: number // Sets the delay for registering a double-click in ms. This is the time interval (in ms) between first mousedown and 2nd mouseup to constitute a double-click. This setting propagates to all on-subplot double clicks (except for geo and mapbox) and on-legend double clicks. - DoubleClickDelay float64 `json:"doubleClickDelay,omitempty"` + DoubleClickDelay types.NumberType `json:"doubleClickDelay,omitempty"` // EditSelection // arrayOK: false // type: boolean // Enables moving selections. - EditSelection types.Bool `json:"editSelection,omitempty"` + EditSelection types.BoolType `json:"editSelection,omitempty"` // Editable // arrayOK: false // type: boolean // Determines whether the graph is editable or not. Sets all pieces of `edits` unless a separate `edits` config item overrides individual parts. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Edits // arrayOK: false @@ -62,13 +62,13 @@ type Config struct { // arrayOK: false // type: boolean // When `layout.autosize` is turned on, determines whether the graph fills the container (the default) or the screen (if set to *true*). - FillFrame types.Bool `json:"fillFrame,omitempty"` + FillFrame types.BoolType `json:"fillFrame,omitempty"` // FrameMargins // arrayOK: false // type: number // When `layout.autosize` is turned on, set the frame margins in fraction of the graph size. - FrameMargins float64 `json:"frameMargins,omitempty"` + FrameMargins types.NumberType `json:"frameMargins,omitempty"` // GlobalTransforms // arrayOK: false @@ -80,13 +80,13 @@ type Config struct { // arrayOK: false // type: string // Sets the text appearing in the `showLink` link. - LinkText types.String `json:"linkText,omitempty"` + LinkText types.StringType `json:"linkText,omitempty"` // Locale // arrayOK: false // type: string // Which localization should we use? Should be a string like 'en' or 'en-US'. - Locale types.String `json:"locale,omitempty"` + Locale types.StringType `json:"locale,omitempty"` // Locales // arrayOK: false @@ -98,13 +98,13 @@ type Config struct { // arrayOK: false // type: integer // Turn all console logging on or off (errors will be thrown) This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no logs 1: warnings and errors, but not informational messages 2: verbose logs - Logging int64 `json:"logging,omitempty"` + Logging types.IntegerType `json:"logging,omitempty"` // MapboxAccessToken // arrayOK: false // type: string // Mapbox access token (required to plot mapbox trace types) If using an Mapbox Atlas server, set this option to '' so that plotly.js won't attempt to authenticate to the public Mapbox server. - MapboxAccessToken types.String `json:"mapboxAccessToken,omitempty"` + MapboxAccessToken types.StringType `json:"mapboxAccessToken,omitempty"` // ModeBarButtons // arrayOK: false @@ -128,31 +128,31 @@ type Config struct { // arrayOK: false // type: integer // Set on-graph logging (notifier) level This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no on-graph logs 1: warnings and errors, but not informational messages 2: verbose logs - NotifyOnLogging int64 `json:"notifyOnLogging,omitempty"` + NotifyOnLogging types.IntegerType `json:"notifyOnLogging,omitempty"` // PlotGlPixelRatio // arrayOK: false // type: number // Set the pixel ratio during WebGL image export. This config option was formerly named `plot3dPixelRatio` which is now deprecated. - PlotGlPixelRatio float64 `json:"plotGlPixelRatio,omitempty"` + PlotGlPixelRatio types.NumberType `json:"plotGlPixelRatio,omitempty"` // PlotlyServerURL // arrayOK: false // type: string // When set it determines base URL for the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button and the showLink/sendData on-graph link. To enable sending your data to Chart Studio Cloud, you need to set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and also set `showSendToCloud` to true. - PlotlyServerURL types.String `json:"plotlyServerURL,omitempty"` + PlotlyServerURL types.StringType `json:"plotlyServerURL,omitempty"` // QueueLength // arrayOK: false // type: integer // Sets the length of the undo/redo queue. - QueueLength int64 `json:"queueLength,omitempty"` + QueueLength types.IntegerType `json:"queueLength,omitempty"` // Responsive // arrayOK: false // type: boolean // Determines whether to change the layout size when window is resized. In v3, this option will be removed and will always be true. - Responsive types.Bool `json:"responsive,omitempty"` + Responsive types.BoolType `json:"responsive,omitempty"` // ScrollZoom // arrayOK: false @@ -165,7 +165,7 @@ type Config struct { // arrayOK: false // type: boolean // If *showLink* is true, does it contain data just link to a Chart Studio Cloud file? - SendData types.Bool `json:"sendData,omitempty"` + SendData types.BoolType `json:"sendData,omitempty"` // SetBackground // arrayOK: false @@ -177,31 +177,31 @@ type Config struct { // arrayOK: false // type: boolean // Set to *false* to omit cartesian axis pan/zoom drag handles. - ShowAxisDragHandles types.Bool `json:"showAxisDragHandles,omitempty"` + ShowAxisDragHandles types.BoolType `json:"showAxisDragHandles,omitempty"` // ShowAxisRangeEntryBoxes // arrayOK: false // type: boolean // Set to *false* to omit direct range entry at the pan/zoom drag points, note that `showAxisDragHandles` must be enabled to have an effect. - ShowAxisRangeEntryBoxes types.Bool `json:"showAxisRangeEntryBoxes,omitempty"` + ShowAxisRangeEntryBoxes types.BoolType `json:"showAxisRangeEntryBoxes,omitempty"` // ShowEditInChartStudio // arrayOK: false // type: boolean // Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk. Note that if both `showSendToCloud` and `showEditInChartStudio` are turned, only `showEditInChartStudio` will be honored. - ShowEditInChartStudio types.Bool `json:"showEditInChartStudio,omitempty"` + ShowEditInChartStudio types.BoolType `json:"showEditInChartStudio,omitempty"` // ShowLink // arrayOK: false // type: boolean // Determines whether a link to Chart Studio Cloud is displayed at the bottom right corner of resulting graphs. Use with `sendData` and `linkText`. - ShowLink types.Bool `json:"showLink,omitempty"` + ShowLink types.BoolType `json:"showLink,omitempty"` // ShowSendToCloud // arrayOK: false // type: boolean // Should we include a ModeBar button, labeled "Edit in Chart Studio", that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0 this button was included by default, now it is opt-in using this flag. Note that this button can (depending on `plotlyServerURL` being set) send your data to an external server. However that server does not persist your data until you arrive at the Chart Studio and explicitly click "Save". - ShowSendToCloud types.Bool `json:"showSendToCloud,omitempty"` + ShowSendToCloud types.BoolType `json:"showSendToCloud,omitempty"` // ShowSources // arrayOK: false @@ -213,13 +213,13 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not tips are shown while interacting with the resulting graphs. - ShowTips types.Bool `json:"showTips,omitempty"` + ShowTips types.BoolType `json:"showTips,omitempty"` // StaticPlot // arrayOK: false // type: boolean // Determines whether the graphs are interactive or not. If *false*, no interactivity, for export or image generation. - StaticPlot types.Bool `json:"staticPlot,omitempty"` + StaticPlot types.BoolType `json:"staticPlot,omitempty"` // ToImageButtonOptions // arrayOK: false @@ -231,19 +231,19 @@ type Config struct { // arrayOK: false // type: string // Set the URL to topojson used in geo charts. By default, the topojson files are fetched from cdn.plot.ly. For example, set this option to: /dist/topojson/ to render geographical feature using the topojson files that ship with the plotly.js module. - TopojsonURL types.String `json:"topojsonURL,omitempty"` + TopojsonURL types.StringType `json:"topojsonURL,omitempty"` // TypesetMath // arrayOK: false // type: boolean // Determines whether math should be typeset or not, when MathJax (either v2 or v3) is present on the page. - TypesetMath types.Bool `json:"typesetMath,omitempty"` + TypesetMath types.BoolType `json:"typesetMath,omitempty"` // Watermark // arrayOK: false // type: boolean // watermark the images with the company's logo - Watermark types.Bool `json:"watermark,omitempty"` + Watermark types.BoolType `json:"watermark,omitempty"` } // ConfigEdits @@ -253,61 +253,61 @@ type ConfigEdits struct { // arrayOK: false // type: boolean // Determines if the main anchor of the annotation is editable. The main anchor corresponds to the text (if no arrow) or the arrow (which drags the whole thing leaving the arrow length & direction unchanged). - AnnotationPosition types.Bool `json:"annotationPosition,omitempty"` + AnnotationPosition types.BoolType `json:"annotationPosition,omitempty"` // AnnotationTail // arrayOK: false // type: boolean // Has only an effect for annotations with arrows. Enables changing the length and direction of the arrow. - AnnotationTail types.Bool `json:"annotationTail,omitempty"` + AnnotationTail types.BoolType `json:"annotationTail,omitempty"` // AnnotationText // arrayOK: false // type: boolean // Enables editing annotation text. - AnnotationText types.Bool `json:"annotationText,omitempty"` + AnnotationText types.BoolType `json:"annotationText,omitempty"` // AxisTitleText // arrayOK: false // type: boolean // Enables editing axis title text. - AxisTitleText types.Bool `json:"axisTitleText,omitempty"` + AxisTitleText types.BoolType `json:"axisTitleText,omitempty"` // ColorbarPosition // arrayOK: false // type: boolean // Enables moving colorbars. - ColorbarPosition types.Bool `json:"colorbarPosition,omitempty"` + ColorbarPosition types.BoolType `json:"colorbarPosition,omitempty"` // ColorbarTitleText // arrayOK: false // type: boolean // Enables editing colorbar title text. - ColorbarTitleText types.Bool `json:"colorbarTitleText,omitempty"` + ColorbarTitleText types.BoolType `json:"colorbarTitleText,omitempty"` // LegendPosition // arrayOK: false // type: boolean // Enables moving the legend. - LegendPosition types.Bool `json:"legendPosition,omitempty"` + LegendPosition types.BoolType `json:"legendPosition,omitempty"` // LegendText // arrayOK: false // type: boolean // Enables editing the trace name fields from the legend - LegendText types.Bool `json:"legendText,omitempty"` + LegendText types.BoolType `json:"legendText,omitempty"` // ShapePosition // arrayOK: false // type: boolean // Enables moving shapes. - ShapePosition types.Bool `json:"shapePosition,omitempty"` + ShapePosition types.BoolType `json:"shapePosition,omitempty"` // TitleText // arrayOK: false // type: boolean // Enables editing the global layout title. - TitleText types.Bool `json:"titleText,omitempty"` + TitleText types.BoolType `json:"titleText,omitempty"` } // ConfigDisplayModeBar Determines the mode bar display mode. If *true*, the mode bar is always visible. If *false*, the mode bar is always hidden. If *hover*, the mode bar is visible while the mouse cursor is on the graph container. diff --git a/generated/v2.29.1/graph_objects/contour_gen.go b/generated/v2.29.1/graph_objects/contour_gen.go index 2926e51..9de20e8 100644 --- a/generated/v2.29.1/graph_objects/contour_gen.go +++ b/generated/v2.29.1/graph_objects/contour_gen.go @@ -32,19 +32,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -61,7 +61,7 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -80,19 +80,19 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -111,7 +111,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -122,19 +122,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -148,7 +148,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,19 +162,19 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -185,13 +185,13 @@ type Contour struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -208,43 +208,43 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -268,13 +268,13 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -285,13 +285,13 @@ type Contour struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,7 +324,7 @@ type Contour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -337,7 +337,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -362,7 +362,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -389,7 +389,7 @@ type Contour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -402,7 +402,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -427,7 +427,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -448,37 +448,37 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourColorbarTickfont Sets the color bar's tick label font @@ -494,13 +494,13 @@ type ContourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourColorbarTickformatstop @@ -516,25 +516,25 @@ type ContourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -550,13 +550,13 @@ type ContourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourColorbarTitle @@ -578,7 +578,7 @@ type ContourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourColorbar @@ -600,7 +600,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -625,7 +625,7 @@ type ContourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -638,13 +638,13 @@ type ContourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -663,13 +663,13 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -682,7 +682,7 @@ type ContourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -702,7 +702,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -721,7 +721,7 @@ type ContourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -738,7 +738,7 @@ type ContourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -763,13 +763,13 @@ type ContourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -782,7 +782,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -795,7 +795,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -809,7 +809,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -823,13 +823,13 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -840,7 +840,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -853,7 +853,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -866,7 +866,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -879,7 +879,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -902,13 +902,13 @@ type ContourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourContours @@ -925,7 +925,7 @@ type ContourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -936,7 +936,7 @@ type ContourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -949,25 +949,25 @@ type ContourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -996,31 +996,31 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ContourHoverlabel @@ -1037,7 +1037,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1049,7 +1049,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1061,7 +1061,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1072,13 +1072,13 @@ type ContourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ContourLegendgrouptitleFont Sets this legend group's title font. @@ -1094,13 +1094,13 @@ type ContourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourLegendgrouptitle @@ -1115,7 +1115,7 @@ type ContourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourLine @@ -1131,19 +1131,19 @@ type ContourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourStream @@ -1153,13 +1153,13 @@ type ContourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1175,13 +1175,13 @@ type ContourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourTransform 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. diff --git a/generated/v2.29.1/graph_objects/contourcarpet_gen.go b/generated/v2.29.1/graph_objects/contourcarpet_gen.go index f9e231d..05609c9 100644 --- a/generated/v2.29.1/graph_objects/contourcarpet_gen.go +++ b/generated/v2.29.1/graph_objects/contourcarpet_gen.go @@ -46,7 +46,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // Atype // arrayOK: false @@ -59,13 +59,13 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // B // arrayOK: false @@ -85,7 +85,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // Btype // arrayOK: false @@ -98,13 +98,13 @@ type Contourcarpet struct { // arrayOK: false // type: string // The `carpet` of the carpet axes on which this contour trace lies - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -134,19 +134,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Fillcolor // arrayOK: false @@ -166,7 +166,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -180,19 +180,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -203,13 +203,13 @@ type Contourcarpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -226,43 +226,43 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -281,19 +281,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transpose // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -312,13 +312,13 @@ type Contourcarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -332,31 +332,31 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourcarpetColorbarTickfont Sets the color bar's tick label font @@ -372,13 +372,13 @@ type ContourcarpetColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetColorbarTickformatstop @@ -394,25 +394,25 @@ type ContourcarpetColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourcarpetColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -428,13 +428,13 @@ type ContourcarpetColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetColorbarTitle @@ -456,7 +456,7 @@ type ContourcarpetColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetColorbar @@ -478,7 +478,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -503,7 +503,7 @@ type ContourcarpetColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -516,13 +516,13 @@ type ContourcarpetColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -541,13 +541,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -560,7 +560,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -580,7 +580,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -599,7 +599,7 @@ type ContourcarpetColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -616,7 +616,7 @@ type ContourcarpetColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -641,13 +641,13 @@ type ContourcarpetColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -660,7 +660,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -673,7 +673,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -687,7 +687,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -701,13 +701,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -718,7 +718,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -731,7 +731,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -744,7 +744,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -757,7 +757,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -780,13 +780,13 @@ type ContourcarpetContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetContours @@ -803,7 +803,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -814,7 +814,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -827,25 +827,25 @@ type ContourcarpetContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -874,13 +874,13 @@ type ContourcarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetLegendgrouptitle @@ -895,7 +895,7 @@ type ContourcarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetLine @@ -911,19 +911,19 @@ type ContourcarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourcarpetStream @@ -933,13 +933,13 @@ type ContourcarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourcarpetAtype If *array*, the heatmap's x coordinates are given by *x* (the default behavior when `x` is provided). If *scaled*, the heatmap's x coordinates are given by *x0* and *dx* (the default behavior when `x` is not provided). diff --git a/generated/v2.29.1/graph_objects/densitymapbox_gen.go b/generated/v2.29.1/graph_objects/densitymapbox_gen.go index 489a166..63a591e 100644 --- a/generated/v2.29.1/graph_objects/densitymapbox_gen.go +++ b/generated/v2.29.1/graph_objects/densitymapbox_gen.go @@ -32,19 +32,19 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the densitymapbox trace will be inserted before the layer with the specified ID. By default, densitymapbox traces are placed below the first layer of type symbol If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,7 +69,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -82,7 +82,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -93,25 +93,25 @@ type Densitymapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -125,7 +125,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -139,19 +139,19 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -162,13 +162,13 @@ type Densitymapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lon // arrayOK: false @@ -182,7 +182,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Meta // arrayOK: true @@ -194,49 +194,49 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Radius // arrayOK: true // type: number // Sets the radius of influence of one `lon` / `lat` point in pixels. Increasing the value makes the densitymapbox trace smoother, but less detailed. - Radius *types.ArrayOK[*float64] `json:"radius,omitempty"` + Radius *types.ArrayOK[*types.NumberType] `json:"radius,omitempty"` // Radiussrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `radius`. - Radiussrc types.String `json:"radiussrc,omitempty"` + Radiussrc types.StringType `json:"radiussrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -247,19 +247,19 @@ type Densitymapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -270,7 +270,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -297,31 +297,31 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // DensitymapboxColorbarTickfont Sets the color bar's tick label font @@ -337,13 +337,13 @@ type DensitymapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxColorbarTickformatstop @@ -359,25 +359,25 @@ type DensitymapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // DensitymapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -393,13 +393,13 @@ type DensitymapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxColorbarTitle @@ -421,7 +421,7 @@ type DensitymapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxColorbar @@ -443,7 +443,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -468,7 +468,7 @@ type DensitymapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -481,13 +481,13 @@ type DensitymapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -506,13 +506,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -525,7 +525,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -545,7 +545,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -564,7 +564,7 @@ type DensitymapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -581,7 +581,7 @@ type DensitymapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -606,13 +606,13 @@ type DensitymapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -625,7 +625,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -638,7 +638,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -652,7 +652,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -666,13 +666,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -683,7 +683,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -696,7 +696,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -709,7 +709,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -722,7 +722,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -745,31 +745,31 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // DensitymapboxHoverlabel @@ -786,7 +786,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -798,7 +798,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -810,7 +810,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -821,13 +821,13 @@ type DensitymapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // DensitymapboxLegendgrouptitleFont Sets this legend group's title font. @@ -843,13 +843,13 @@ type DensitymapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxLegendgrouptitle @@ -864,7 +864,7 @@ type DensitymapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxStream @@ -874,13 +874,13 @@ type DensitymapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // DensitymapboxTransform 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. diff --git a/generated/v2.29.1/graph_objects/frames_gen.go b/generated/v2.29.1/graph_objects/frames_gen.go index f17fece..2a15635 100644 --- a/generated/v2.29.1/graph_objects/frames_gen.go +++ b/generated/v2.29.1/graph_objects/frames_gen.go @@ -11,7 +11,7 @@ type Frame struct { // Baseframe // The name of the frame into which this frame's properties are merged before applying. This is used to unify properties and avoid needing to specify the same values for the same properties in multiple frames. - Baseframe types.String `json:"baseframe,omitempty"` + Baseframe types.StringType `json:"baseframe,omitempty"` // Data // A list of traces this frame modifies. The format is identical to the normal trace definition. @@ -19,15 +19,15 @@ type Frame struct { // Group // An identifier that specifies the group to which the frame belongs, used by animate to select a subset of frames. - Group types.String `json:"group,omitempty"` + Group types.StringType `json:"group,omitempty"` // Layout // Layout properties which this frame modifies. The format is identical to the normal layout definition. - Layout Layout `json:"layout,omitempty"` + Layout *Layout `json:"layout,omitempty"` // Name // A label by which to identify the frame - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Traces // A list of trace indices that identify the respective traces in the data attribute diff --git a/generated/v2.29.1/graph_objects/funnel_gen.go b/generated/v2.29.1/graph_objects/funnel_gen.go index 557e4d0..639d291 100644 --- a/generated/v2.29.1/graph_objects/funnel_gen.go +++ b/generated/v2.29.1/graph_objects/funnel_gen.go @@ -32,13 +32,13 @@ type Funnel struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -64,19 +64,19 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -89,7 +89,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -100,25 +100,25 @@ type Funnel struct { // 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. Finally, the template string has access to variables `percentInitial`, `percentPrevious` and `percentTotal`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -132,7 +132,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -150,13 +150,13 @@ type Funnel struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Funnel struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -190,31 +190,31 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: false // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -238,7 +238,7 @@ type Funnel struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -249,13 +249,13 @@ type Funnel struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -280,25 +280,25 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `percentInitial`, `percentPrevious`, `percentTotal`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -309,7 +309,7 @@ type Funnel struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -328,7 +328,7 @@ type Funnel struct { // arrayOK: false // type: number // Sets the bar width (in position axis units). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -348,13 +348,13 @@ type Funnel struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -379,7 +379,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -399,13 +399,13 @@ type Funnel struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -430,7 +430,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // FunnelConnectorLine @@ -446,13 +446,13 @@ type FunnelConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // FunnelConnector @@ -473,7 +473,7 @@ type FunnelConnector struct { // arrayOK: false // type: boolean // Determines if connector regions and lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // FunnelHoverlabelFont Sets the font used in hover labels. @@ -489,31 +489,31 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelHoverlabel @@ -530,7 +530,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -542,7 +542,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -554,7 +554,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -565,13 +565,13 @@ type FunnelHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelInsidetextfont Sets the font used for `text` lying inside the bar. @@ -587,31 +587,31 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelLegendgrouptitleFont Sets this legend group's title font. @@ -627,13 +627,13 @@ type FunnelLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelLegendgrouptitle @@ -648,7 +648,7 @@ type FunnelLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbarTickfont Sets the color bar's tick label font @@ -664,13 +664,13 @@ type FunnelMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelMarkerColorbarTickformatstop @@ -686,25 +686,25 @@ type FunnelMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // FunnelMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -720,13 +720,13 @@ type FunnelMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelMarkerColorbarTitle @@ -748,7 +748,7 @@ type FunnelMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbar @@ -770,7 +770,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -795,7 +795,7 @@ type FunnelMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -808,13 +808,13 @@ type FunnelMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -833,13 +833,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -852,7 +852,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -872,7 +872,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -891,7 +891,7 @@ type FunnelMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -908,7 +908,7 @@ type FunnelMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -933,13 +933,13 @@ type FunnelMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -952,7 +952,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -965,7 +965,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -979,7 +979,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -993,13 +993,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1010,7 +1010,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1023,7 +1023,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1036,7 +1036,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1049,7 +1049,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1066,31 +1066,31 @@ type FunnelMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1102,7 +1102,7 @@ type FunnelMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1114,25 +1114,25 @@ type FunnelMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelMarker @@ -1142,31 +1142,31 @@ type FunnelMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1178,7 +1178,7 @@ type FunnelMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1195,7 +1195,7 @@ type FunnelMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1206,25 +1206,25 @@ type FunnelMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // FunnelOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1240,31 +1240,31 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelStream @@ -1274,13 +1274,13 @@ type FunnelStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelTextfont Sets the font used for `text`. @@ -1296,31 +1296,31 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelTransform 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. diff --git a/generated/v2.29.1/graph_objects/funnelarea_gen.go b/generated/v2.29.1/graph_objects/funnelarea_gen.go index 9ad003b..7a9cd65 100644 --- a/generated/v2.29.1/graph_objects/funnelarea_gen.go +++ b/generated/v2.29.1/graph_objects/funnelarea_gen.go @@ -32,13 +32,13 @@ type Funnelarea struct { // arrayOK: false // type: number // Sets the ratio between height and width - Aspectratio float64 `json:"aspectratio,omitempty"` + Aspectratio types.NumberType `json:"aspectratio,omitempty"` // Baseratio // arrayOK: false // type: number // Sets the ratio between bottom length and maximum top length. - Baseratio float64 `json:"baseratio,omitempty"` + Baseratio types.NumberType `json:"baseratio,omitempty"` // Customdata // arrayOK: false @@ -52,13 +52,13 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dlabel // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -76,7 +76,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -87,25 +87,25 @@ type Funnelarea struct { // 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. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -119,7 +119,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -130,7 +130,7 @@ type Funnelarea struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -144,19 +144,19 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Funnelarea struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -190,31 +190,31 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple funnelareas that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -252,25 +252,25 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -286,7 +286,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -306,7 +306,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -323,13 +323,13 @@ type FunnelareaDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this funnelarea trace . - Column int64 `json:"column,omitempty"` + 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 funnelarea trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -357,31 +357,31 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaHoverlabel @@ -398,7 +398,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -410,7 +410,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -422,7 +422,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -433,13 +433,13 @@ type FunnelareaHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelareaInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -455,31 +455,31 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaLegendgrouptitleFont Sets this legend group's title font. @@ -495,13 +495,13 @@ type FunnelareaLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelareaLegendgrouptitle @@ -516,7 +516,7 @@ type FunnelareaLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaMarkerLine @@ -532,19 +532,19 @@ type FunnelareaMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelareaMarkerPattern Sets the pattern within the marker. @@ -560,7 +560,7 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -572,13 +572,13 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -598,31 +598,31 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // FunnelareaMarker @@ -640,7 +640,7 @@ type FunnelareaMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -660,13 +660,13 @@ type FunnelareaStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelareaTextfont Sets the font used for `textinfo`. @@ -682,31 +682,31 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -722,31 +722,31 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaTitle @@ -768,7 +768,7 @@ type FunnelareaTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaTransform 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. diff --git a/generated/v2.29.1/graph_objects/heatmap_gen.go b/generated/v2.29.1/graph_objects/heatmap_gen.go index dac135d..230b493 100644 --- a/generated/v2.29.1/graph_objects/heatmap_gen.go +++ b/generated/v2.29.1/graph_objects/heatmap_gen.go @@ -32,13 +32,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -55,7 +55,7 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array and `zsmooth` is not false; otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -69,19 +69,19 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -94,7 +94,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,19 +105,19 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -131,7 +131,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -145,19 +145,19 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -168,13 +168,13 @@ type Heatmap struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -186,37 +186,37 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -240,13 +240,13 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -257,13 +257,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -296,7 +296,7 @@ type Heatmap struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -309,13 +309,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -340,7 +340,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -367,7 +367,7 @@ type Heatmap struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -380,13 +380,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -411,7 +411,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -432,31 +432,31 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -469,7 +469,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapColorbarTickfont Sets the color bar's tick label font @@ -485,13 +485,13 @@ type HeatmapColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapColorbarTickformatstop @@ -507,25 +507,25 @@ type HeatmapColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -541,13 +541,13 @@ type HeatmapColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapColorbarTitle @@ -569,7 +569,7 @@ type HeatmapColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapColorbar @@ -591,7 +591,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -616,7 +616,7 @@ type HeatmapColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -629,13 +629,13 @@ type HeatmapColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -654,13 +654,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -673,7 +673,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -693,7 +693,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -712,7 +712,7 @@ type HeatmapColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -729,7 +729,7 @@ type HeatmapColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -754,13 +754,13 @@ type HeatmapColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -773,7 +773,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -786,7 +786,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -800,7 +800,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -814,13 +814,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -831,7 +831,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -844,7 +844,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -857,7 +857,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -870,7 +870,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -893,31 +893,31 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HeatmapHoverlabel @@ -934,7 +934,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -946,7 +946,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -958,7 +958,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -969,13 +969,13 @@ type HeatmapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapLegendgrouptitleFont Sets this legend group's title font. @@ -991,13 +991,13 @@ type HeatmapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapLegendgrouptitle @@ -1012,7 +1012,7 @@ type HeatmapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapStream @@ -1022,13 +1022,13 @@ type HeatmapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapTextfont Sets the text font. @@ -1044,13 +1044,13 @@ type HeatmapTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapTransform 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. diff --git a/generated/v2.29.1/graph_objects/heatmapgl_gen.go b/generated/v2.29.1/graph_objects/heatmapgl_gen.go index f1ff212..31280d3 100644 --- a/generated/v2.29.1/graph_objects/heatmapgl_gen.go +++ b/generated/v2.29.1/graph_objects/heatmapgl_gen.go @@ -32,13 +32,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -88,7 +88,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -107,13 +107,13 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -124,13 +124,13 @@ type Heatmapgl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -142,31 +142,31 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -185,7 +185,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -196,13 +196,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -235,13 +235,13 @@ type Heatmapgl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -268,13 +268,13 @@ type Heatmapgl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -295,25 +295,25 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -326,7 +326,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapglColorbarTickfont Sets the color bar's tick label font @@ -342,13 +342,13 @@ type HeatmapglColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglColorbarTickformatstop @@ -364,25 +364,25 @@ type HeatmapglColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapglColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -398,13 +398,13 @@ type HeatmapglColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglColorbarTitle @@ -426,7 +426,7 @@ type HeatmapglColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglColorbar @@ -448,7 +448,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -473,7 +473,7 @@ type HeatmapglColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -486,13 +486,13 @@ type HeatmapglColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -511,13 +511,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -530,7 +530,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -550,7 +550,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -569,7 +569,7 @@ type HeatmapglColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -586,7 +586,7 @@ type HeatmapglColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -611,13 +611,13 @@ type HeatmapglColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -630,7 +630,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -643,7 +643,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -657,7 +657,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -671,13 +671,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -688,7 +688,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -701,7 +701,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -714,7 +714,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -727,7 +727,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -750,31 +750,31 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HeatmapglHoverlabel @@ -791,7 +791,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -803,7 +803,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -815,7 +815,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -826,13 +826,13 @@ type HeatmapglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapglLegendgrouptitleFont Sets this legend group's title font. @@ -848,13 +848,13 @@ type HeatmapglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglLegendgrouptitle @@ -869,7 +869,7 @@ type HeatmapglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglStream @@ -879,13 +879,13 @@ type HeatmapglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapglTransform 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. diff --git a/generated/v2.29.1/graph_objects/histogram2d_gen.go b/generated/v2.29.1/graph_objects/histogram2d_gen.go index 266cb7c..ae17f7e 100644 --- a/generated/v2.29.1/graph_objects/histogram2d_gen.go +++ b/generated/v2.29.1/graph_objects/histogram2d_gen.go @@ -32,31 +32,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -81,7 +81,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -108,7 +108,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -119,13 +119,13 @@ type Histogram2d struct { // 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. Finally, the template string has access to variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -139,19 +139,19 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -162,13 +162,13 @@ type Histogram2d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -185,49 +185,49 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -243,7 +243,7 @@ type Histogram2d struct { // arrayOK: false // 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. Finally, the template string has access to variable `z` - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -254,7 +254,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -281,13 +281,13 @@ type Histogram2d struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -305,19 +305,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -331,13 +331,13 @@ type Histogram2d struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -355,19 +355,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -381,31 +381,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -418,7 +418,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dColorbarTickfont Sets the color bar's tick label font @@ -434,13 +434,13 @@ type Histogram2dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dColorbarTickformatstop @@ -456,25 +456,25 @@ type Histogram2dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -490,13 +490,13 @@ type Histogram2dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dColorbarTitle @@ -518,7 +518,7 @@ type Histogram2dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dColorbar @@ -540,7 +540,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -565,7 +565,7 @@ type Histogram2dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -578,13 +578,13 @@ type Histogram2dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -603,13 +603,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -622,7 +622,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -642,7 +642,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -661,7 +661,7 @@ type Histogram2dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -678,7 +678,7 @@ type Histogram2dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -703,13 +703,13 @@ type Histogram2dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -722,7 +722,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -735,7 +735,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -749,7 +749,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -763,13 +763,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -780,7 +780,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -793,7 +793,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -806,7 +806,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -819,7 +819,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -842,31 +842,31 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Histogram2dHoverlabel @@ -883,7 +883,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -895,7 +895,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -907,7 +907,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -918,13 +918,13 @@ type Histogram2dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dLegendgrouptitleFont Sets this legend group's title font. @@ -940,13 +940,13 @@ type Histogram2dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dLegendgrouptitle @@ -961,7 +961,7 @@ type Histogram2dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dMarker @@ -979,7 +979,7 @@ type Histogram2dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dStream @@ -989,13 +989,13 @@ type Histogram2dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dTextfont Sets the text font. @@ -1011,13 +1011,13 @@ type Histogram2dTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dTransform 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. diff --git a/generated/v2.29.1/graph_objects/histogram2dcontour_gen.go b/generated/v2.29.1/graph_objects/histogram2dcontour_gen.go index f26fd45..2d6a83f 100644 --- a/generated/v2.29.1/graph_objects/histogram2dcontour_gen.go +++ b/generated/v2.29.1/graph_objects/histogram2dcontour_gen.go @@ -32,37 +32,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -92,7 +92,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -119,7 +119,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,13 +130,13 @@ type Histogram2dcontour struct { // 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. Finally, the template string has access to variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -150,19 +150,19 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -173,13 +173,13 @@ type Histogram2dcontour struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -201,55 +201,55 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -265,7 +265,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -276,7 +276,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -303,13 +303,13 @@ type Histogram2dcontour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -327,13 +327,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -347,13 +347,13 @@ type Histogram2dcontour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -371,13 +371,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -391,37 +391,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dcontourColorbarTickfont Sets the color bar's tick label font @@ -437,13 +437,13 @@ type Histogram2dcontourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourColorbarTickformatstop @@ -459,25 +459,25 @@ type Histogram2dcontourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dcontourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -493,13 +493,13 @@ type Histogram2dcontourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourColorbarTitle @@ -521,7 +521,7 @@ type Histogram2dcontourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourColorbar @@ -543,7 +543,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -568,7 +568,7 @@ type Histogram2dcontourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -581,13 +581,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -606,13 +606,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -625,7 +625,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -645,7 +645,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -664,7 +664,7 @@ type Histogram2dcontourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -681,7 +681,7 @@ type Histogram2dcontourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -706,13 +706,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -725,7 +725,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -738,7 +738,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -752,7 +752,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -766,13 +766,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -783,7 +783,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -796,7 +796,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -809,7 +809,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -822,7 +822,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -845,13 +845,13 @@ type Histogram2dcontourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourContours @@ -868,7 +868,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -879,7 +879,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -892,25 +892,25 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -939,31 +939,31 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Histogram2dcontourHoverlabel @@ -980,7 +980,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -992,7 +992,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1004,7 +1004,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1015,13 +1015,13 @@ type Histogram2dcontourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dcontourLegendgrouptitleFont Sets this legend group's title font. @@ -1037,13 +1037,13 @@ type Histogram2dcontourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourLegendgrouptitle @@ -1058,7 +1058,7 @@ type Histogram2dcontourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourLine @@ -1074,19 +1074,19 @@ type Histogram2dcontourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Histogram2dcontourMarker @@ -1104,7 +1104,7 @@ type Histogram2dcontourMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dcontourStream @@ -1114,13 +1114,13 @@ type Histogram2dcontourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dcontourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1136,13 +1136,13 @@ type Histogram2dcontourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourTransform 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. diff --git a/generated/v2.29.1/graph_objects/histogram_gen.go b/generated/v2.29.1/graph_objects/histogram_gen.go index 8767fcf..79d7e25 100644 --- a/generated/v2.29.1/graph_objects/histogram_gen.go +++ b/generated/v2.29.1/graph_objects/histogram_gen.go @@ -32,31 +32,31 @@ type Histogram struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Autobinx // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Bingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible bin settings. Note that traces on the same subplot and with the same *orientation* under `barmode` *stack*, *relative* and *group* are forced into the same bingroup, Using `bingroup`, traces under `barmode` *overlay* and on different axes (of the same axis type) can have compatible bin settings. Note that histogram and histogram2d* trace can share the same `bingroup` - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -82,7 +82,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -119,7 +119,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,25 +130,25 @@ type Histogram struct { // 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. Finally, the template string has access to variable `binNumber` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,7 +162,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -180,13 +180,13 @@ type Histogram struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -197,13 +197,13 @@ type Histogram struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -220,37 +220,37 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -279,7 +279,7 @@ type Histogram struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -290,13 +290,13 @@ type Histogram struct { // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -314,13 +314,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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. Finally, the template string has access to variables `label` and `value`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -331,7 +331,7 @@ type Histogram struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -363,7 +363,7 @@ type Histogram struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbins // arrayOK: false @@ -381,13 +381,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -401,7 +401,7 @@ type Histogram struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybins // arrayOK: false @@ -419,13 +419,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // HistogramCumulative @@ -449,7 +449,7 @@ type HistogramCumulative struct { // arrayOK: false // type: boolean // If true, display the cumulative distribution by summing the binned values. Use the `direction` and `centralbin` attributes to tune the accumulation method. Note: in this mode, the *density* `histnorm` settings behave the same as their equivalents without *density*: ** and *density* both rise to the number of data points, and *probability* and *probability density* both rise to the number of sample points. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` } // HistogramErrorX @@ -475,13 +475,13 @@ type HistogramErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -493,31 +493,31 @@ type HistogramErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -530,25 +530,25 @@ type HistogramErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramErrorY @@ -574,13 +574,13 @@ type HistogramErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -592,25 +592,25 @@ type HistogramErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -623,25 +623,25 @@ type HistogramErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramHoverlabelFont Sets the font used in hover labels. @@ -657,31 +657,31 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HistogramHoverlabel @@ -698,7 +698,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -710,7 +710,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -722,7 +722,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -733,13 +733,13 @@ type HistogramHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HistogramInsidetextfont Sets the font used for `text` lying inside the bar. @@ -755,13 +755,13 @@ type HistogramInsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramLegendgrouptitleFont Sets this legend group's title font. @@ -777,13 +777,13 @@ type HistogramLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramLegendgrouptitle @@ -798,7 +798,7 @@ type HistogramLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbarTickfont Sets the color bar's tick label font @@ -814,13 +814,13 @@ type HistogramMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramMarkerColorbarTickformatstop @@ -836,25 +836,25 @@ type HistogramMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HistogramMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -870,13 +870,13 @@ type HistogramMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramMarkerColorbarTitle @@ -898,7 +898,7 @@ type HistogramMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbar @@ -920,7 +920,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -945,7 +945,7 @@ type HistogramMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -958,13 +958,13 @@ type HistogramMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -983,13 +983,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1002,7 +1002,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1022,7 +1022,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1041,7 +1041,7 @@ type HistogramMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1058,7 +1058,7 @@ type HistogramMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1083,13 +1083,13 @@ type HistogramMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1102,7 +1102,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1115,7 +1115,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1129,7 +1129,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1143,13 +1143,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1160,7 +1160,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1173,7 +1173,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1186,7 +1186,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1199,7 +1199,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1216,31 +1216,31 @@ type HistogramMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1252,7 +1252,7 @@ type HistogramMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1264,25 +1264,25 @@ type HistogramMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // HistogramMarkerPattern Sets the pattern within the marker. @@ -1298,7 +1298,7 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1310,13 +1310,13 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1336,31 +1336,31 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // HistogramMarker @@ -1370,31 +1370,31 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1406,7 +1406,7 @@ type HistogramMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1423,7 +1423,7 @@ type HistogramMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Cornerradius // arrayOK: false @@ -1440,13 +1440,13 @@ type HistogramMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1457,13 +1457,13 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // HistogramOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1479,13 +1479,13 @@ type HistogramOutsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramSelectedMarker @@ -1501,7 +1501,7 @@ type HistogramSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramSelectedTextfont @@ -1535,13 +1535,13 @@ type HistogramStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HistogramTextfont Sets the text font. @@ -1557,13 +1557,13 @@ type HistogramTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramTransform 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. @@ -1583,7 +1583,7 @@ type HistogramUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/icicle_gen.go b/generated/v2.29.1/graph_objects/icicle_gen.go index 7ca15d7..02b93b7 100644 --- a/generated/v2.29.1/graph_objects/icicle_gen.go +++ b/generated/v2.29.1/graph_objects/icicle_gen.go @@ -54,7 +54,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Icicle struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,7 +134,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -145,7 +145,7 @@ type Icicle struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Icicle struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -179,7 +179,7 @@ type Icicle struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -191,19 +191,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -222,7 +222,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -238,7 +238,7 @@ type Icicle struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -276,19 +276,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -304,7 +304,7 @@ type Icicle struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,7 +324,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -341,13 +341,13 @@ type IcicleDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this icicle trace . - Column int64 `json:"column,omitempty"` + 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 icicle trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -375,31 +375,31 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleHoverlabel @@ -416,7 +416,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -428,7 +428,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -440,7 +440,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -451,13 +451,13 @@ type IcicleHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IcicleInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -473,31 +473,31 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleLeaf @@ -507,7 +507,7 @@ type IcicleLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // IcicleLegendgrouptitleFont Sets this legend group's title font. @@ -523,13 +523,13 @@ type IcicleLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleLegendgrouptitle @@ -544,7 +544,7 @@ type IcicleLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbarTickfont Sets the color bar's tick label font @@ -560,13 +560,13 @@ type IcicleMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleMarkerColorbarTickformatstop @@ -582,25 +582,25 @@ type IcicleMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IcicleMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -616,13 +616,13 @@ type IcicleMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleMarkerColorbarTitle @@ -644,7 +644,7 @@ type IcicleMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbar @@ -666,7 +666,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -691,7 +691,7 @@ type IcicleMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -704,13 +704,13 @@ type IcicleMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -729,13 +729,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -748,7 +748,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -768,7 +768,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -787,7 +787,7 @@ type IcicleMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -804,7 +804,7 @@ type IcicleMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -829,13 +829,13 @@ type IcicleMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -848,7 +848,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -861,7 +861,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -875,7 +875,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -889,13 +889,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -906,7 +906,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -919,7 +919,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -932,7 +932,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -945,7 +945,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -968,19 +968,19 @@ type IcicleMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // IcicleMarkerPattern Sets the pattern within the marker. @@ -996,7 +996,7 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1008,13 +1008,13 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1034,31 +1034,31 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // IcicleMarker @@ -1068,37 +1068,37 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1123,7 +1123,7 @@ type IcicleMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1139,13 +1139,13 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // IcicleOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1161,31 +1161,31 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IciclePathbarTextfont Sets the font used inside `pathbar`. @@ -1201,31 +1201,31 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IciclePathbar @@ -1254,13 +1254,13 @@ type IciclePathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IcicleRoot @@ -1280,13 +1280,13 @@ type IcicleStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IcicleTextfont Sets the font used for `textinfo`. @@ -1302,31 +1302,31 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleTiling @@ -1350,7 +1350,7 @@ type IcicleTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` } // IcicleTransform 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. diff --git a/generated/v2.29.1/graph_objects/image_gen.go b/generated/v2.29.1/graph_objects/image_gen.go index 7f00f43..a35969c 100644 --- a/generated/v2.29.1/graph_objects/image_gen.go +++ b/generated/v2.29.1/graph_objects/image_gen.go @@ -47,19 +47,19 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Set the pixel's horizontal size. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Set the pixel's vertical size - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -72,7 +72,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,13 +83,13 @@ type Image struct { // 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. Finally, the template string has access to variables `z`, `color` and `colormodel`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -103,7 +103,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,13 +117,13 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -134,13 +134,13 @@ type Image struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -152,25 +152,25 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false // type: string // Specifies the data URI of the image to be visualized. The URI consists of "data:image/[][;base64]," - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,omitempty"` // Stream // arrayOK: false @@ -189,13 +189,13 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -220,7 +220,7 @@ type Image struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Y0 // arrayOK: false @@ -232,7 +232,7 @@ type Image struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -265,7 +265,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ImageHoverlabelFont Sets the font used in hover labels. @@ -281,31 +281,31 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ImageHoverlabel @@ -322,7 +322,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -334,7 +334,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -346,7 +346,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -357,13 +357,13 @@ type ImageHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ImageLegendgrouptitleFont Sets this legend group's title font. @@ -379,13 +379,13 @@ type ImageLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ImageLegendgrouptitle @@ -400,7 +400,7 @@ type ImageLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ImageStream @@ -410,13 +410,13 @@ type ImageStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ImageColormodel Color model used to map the numerical color components described in `z` into colors. If `source` is specified, this attribute will be set to `rgba256` otherwise it defaults to `rgb`. diff --git a/generated/v2.29.1/graph_objects/indicator_gen.go b/generated/v2.29.1/graph_objects/indicator_gen.go index a10e00c..0e269ce 100644 --- a/generated/v2.29.1/graph_objects/indicator_gen.go +++ b/generated/v2.29.1/graph_objects/indicator_gen.go @@ -47,7 +47,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delta // arrayOK: false @@ -76,13 +76,13 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -93,13 +93,13 @@ type Indicator struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -111,7 +111,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -124,7 +124,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Number // arrayOK: false @@ -150,7 +150,7 @@ type Indicator struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -162,7 +162,7 @@ type Indicator struct { // arrayOK: false // type: number // Sets the number to be displayed. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Visible // arrayOK: false @@ -185,7 +185,7 @@ type IndicatorDeltaDecreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDeltaFont Set the font used to display the delta @@ -201,13 +201,13 @@ type IndicatorDeltaFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorDeltaIncreasing @@ -223,7 +223,7 @@ type IndicatorDeltaIncreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDelta @@ -255,31 +255,31 @@ type IndicatorDelta struct { // arrayOK: false // type: string // Sets a prefix appearing before the delta. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Reference // arrayOK: false // type: number // Sets the reference value to compute the delta. By default, it is set to the current value. - Reference float64 `json:"reference,omitempty"` + Reference types.NumberType `json:"reference,omitempty"` // Relative // arrayOK: false // type: boolean // Show relative change - Relative types.Bool `json:"relative,omitempty"` + Relative types.BoolType `json:"relative,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the delta. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorDomain @@ -289,13 +289,13 @@ type IndicatorDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this indicator trace . - Column int64 `json:"column,omitempty"` + 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 indicator trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -323,13 +323,13 @@ type IndicatorGaugeAxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorGaugeAxisTickformatstop @@ -345,25 +345,25 @@ type IndicatorGaugeAxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IndicatorGaugeAxis @@ -392,13 +392,13 @@ type IndicatorGaugeAxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -410,7 +410,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -423,7 +423,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -449,7 +449,7 @@ type IndicatorGaugeAxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -466,7 +466,7 @@ type IndicatorGaugeAxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -477,13 +477,13 @@ type IndicatorGaugeAxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -496,7 +496,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -509,7 +509,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -523,7 +523,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -537,19 +537,19 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IndicatorGaugeBarLine @@ -565,7 +565,7 @@ type IndicatorGaugeBarLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeBar Set the appearance of the gauge's value @@ -586,7 +586,7 @@ type IndicatorGaugeBar struct { // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // StepLine @@ -602,7 +602,7 @@ type StepLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeStep @@ -623,7 +623,7 @@ type IndicatorGaugeStep struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -635,13 +635,13 @@ type IndicatorGaugeStep struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // IndicatorGaugeThresholdLine @@ -657,7 +657,7 @@ type IndicatorGaugeThresholdLine struct { // arrayOK: false // type: number // Sets the width (in px) of the threshold line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeThreshold @@ -672,13 +672,13 @@ type IndicatorGaugeThreshold struct { // arrayOK: false // type: number // Sets the thickness of the threshold line as a fraction of the thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Value // arrayOK: false // type: number // Sets a treshold value drawn as a line. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` } // IndicatorGauge The gauge of the Indicator plot. @@ -710,7 +710,7 @@ type IndicatorGauge struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the gauge. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Shape // arrayOK: false @@ -743,13 +743,13 @@ type IndicatorLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorLegendgrouptitle @@ -764,7 +764,7 @@ type IndicatorLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorNumberFont Set the font used to display main number @@ -780,13 +780,13 @@ type IndicatorNumberFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorNumber @@ -801,19 +801,19 @@ type IndicatorNumber struct { // arrayOK: false // type: string // Sets a prefix appearing before the number. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the number. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorStream @@ -823,13 +823,13 @@ type IndicatorStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IndicatorTitleFont Set the font used to display the title @@ -845,13 +845,13 @@ type IndicatorTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorTitle @@ -873,7 +873,7 @@ type IndicatorTitle struct { // arrayOK: false // type: string // Sets the title of this indicator. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorTransform 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. diff --git a/generated/v2.29.1/graph_objects/isosurface_gen.go b/generated/v2.29.1/graph_objects/isosurface_gen.go index 7900176..b228bb2 100644 --- a/generated/v2.29.1/graph_objects/isosurface_gen.go +++ b/generated/v2.29.1/graph_objects/isosurface_gen.go @@ -32,7 +32,7 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Isosurface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,31 +159,31 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -194,13 +194,13 @@ type Isosurface struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -222,43 +222,43 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -284,19 +284,19 @@ type Isosurface struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -316,13 +316,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -343,13 +343,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -363,13 +363,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -383,13 +383,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // IsosurfaceCapsX @@ -399,13 +399,13 @@ type IsosurfaceCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsY @@ -415,13 +415,13 @@ type IsosurfaceCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsZ @@ -431,13 +431,13 @@ type IsosurfaceCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCaps @@ -472,13 +472,13 @@ type IsosurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceColorbarTickformatstop @@ -494,25 +494,25 @@ type IsosurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IsosurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -528,13 +528,13 @@ type IsosurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceColorbarTitle @@ -556,7 +556,7 @@ type IsosurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceColorbar @@ -578,7 +578,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -603,7 +603,7 @@ type IsosurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -616,13 +616,13 @@ type IsosurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -641,13 +641,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -660,7 +660,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -680,7 +680,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -699,7 +699,7 @@ type IsosurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -716,7 +716,7 @@ type IsosurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -741,13 +741,13 @@ type IsosurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -760,7 +760,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -773,7 +773,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -787,7 +787,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -801,13 +801,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -818,7 +818,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -831,7 +831,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -844,7 +844,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -857,7 +857,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -880,13 +880,13 @@ type IsosurfaceContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IsosurfaceHoverlabelFont Sets the font used in hover labels. @@ -902,31 +902,31 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IsosurfaceHoverlabel @@ -943,7 +943,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -955,7 +955,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -967,7 +967,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -978,13 +978,13 @@ type IsosurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IsosurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -1000,13 +1000,13 @@ type IsosurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceLegendgrouptitle @@ -1021,7 +1021,7 @@ type IsosurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceLighting @@ -1031,43 +1031,43 @@ type IsosurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // IsosurfaceLightposition @@ -1077,19 +1077,19 @@ type IsosurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // IsosurfaceSlicesX @@ -1099,7 +1099,7 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1113,13 +1113,13 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesY @@ -1129,7 +1129,7 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1143,13 +1143,13 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesZ @@ -1159,7 +1159,7 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1173,13 +1173,13 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlices @@ -1208,13 +1208,13 @@ type IsosurfaceSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 0.15 meaning that only 15% of the area of every faces of tetras would be shaded. Applying a greater `fill` ratio would allow the creation of stronger elements or could be sued to have entirely closed areas (in case of using 1). - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceStream @@ -1224,13 +1224,13 @@ type IsosurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IsosurfaceSurface @@ -1240,13 +1240,13 @@ type IsosurfaceSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1259,7 +1259,7 @@ type IsosurfaceSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceColorbarExponentformat 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. diff --git a/generated/v2.29.1/graph_objects/layout_gen.go b/generated/v2.29.1/graph_objects/layout_gen.go index 25b2e1f..c0413da 100644 --- a/generated/v2.29.1/graph_objects/layout_gen.go +++ b/generated/v2.29.1/graph_objects/layout_gen.go @@ -28,7 +28,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout. Note that, regardless of this attribute, an undefined layout width or height is always initialized on the first call to plot. - Autosize types.Bool `json:"autosize,omitempty"` + Autosize types.BoolType `json:"autosize,omitempty"` // Autotypenumbers // arrayOK: false @@ -47,13 +47,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Bargap float64 `json:"bargap,omitempty"` + Bargap types.NumberType `json:"bargap,omitempty"` // Bargroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Bargroupgap float64 `json:"bargroupgap,omitempty"` + Bargroupgap types.NumberType `json:"bargroupgap,omitempty"` // Barmode // arrayOK: false @@ -73,13 +73,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of adjacent location coordinates. Has no effect on traces that have *width* set. - Boxgap float64 `json:"boxgap,omitempty"` + Boxgap types.NumberType `json:"boxgap,omitempty"` // Boxgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of the same location coordinate. Has no effect on traces that have *width* set. - Boxgroupgap float64 `json:"boxgroupgap,omitempty"` + Boxgroupgap types.NumberType `json:"boxgroupgap,omitempty"` // Boxmode // arrayOK: false @@ -147,31 +147,31 @@ type Layout struct { // arrayOK: false // type: boolean // If `true`, the funnelarea slice colors (whether given by `funnelareacolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendfunnelareacolors types.Bool `json:"extendfunnelareacolors,omitempty"` + Extendfunnelareacolors types.BoolType `json:"extendfunnelareacolors,omitempty"` // Extendiciclecolors // arrayOK: false // type: boolean // If `true`, the icicle slice colors (whether given by `iciclecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendiciclecolors types.Bool `json:"extendiciclecolors,omitempty"` + Extendiciclecolors types.BoolType `json:"extendiciclecolors,omitempty"` // Extendpiecolors // arrayOK: false // type: boolean // If `true`, the pie slice colors (whether given by `piecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendpiecolors types.Bool `json:"extendpiecolors,omitempty"` + Extendpiecolors types.BoolType `json:"extendpiecolors,omitempty"` // Extendsunburstcolors // arrayOK: false // type: boolean // If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendsunburstcolors types.Bool `json:"extendsunburstcolors,omitempty"` + Extendsunburstcolors types.BoolType `json:"extendsunburstcolors,omitempty"` // Extendtreemapcolors // arrayOK: false // type: boolean // If `true`, the treemap slice colors (whether given by `treemapcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendtreemapcolors types.Bool `json:"extendtreemapcolors,omitempty"` + Extendtreemapcolors types.BoolType `json:"extendtreemapcolors,omitempty"` // Font // arrayOK: false @@ -188,13 +188,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Funnelgap float64 `json:"funnelgap,omitempty"` + Funnelgap types.NumberType `json:"funnelgap,omitempty"` // Funnelgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Funnelgroupgap float64 `json:"funnelgroupgap,omitempty"` + Funnelgroupgap types.NumberType `json:"funnelgroupgap,omitempty"` // Funnelmode // arrayOK: false @@ -217,7 +217,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's height (in px). - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hiddenlabels // arrayOK: false @@ -231,19 +231,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hiddenlabels`. - Hiddenlabelssrc types.String `json:"hiddenlabelssrc,omitempty"` + Hiddenlabelssrc types.StringType `json:"hiddenlabelssrc,omitempty"` // Hidesources // arrayOK: false // type: boolean // Determines whether or not a text link citing the data source is placed at the bottom-right cored of the figure. Has only an effect only on graphs that have been generated via forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise). - Hidesources types.Bool `json:"hidesources,omitempty"` + Hidesources types.BoolType `json:"hidesources,omitempty"` // Hoverdistance // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict. - Hoverdistance int64 `json:"hoverdistance,omitempty"` + Hoverdistance types.IntegerType `json:"hoverdistance,omitempty"` // Hoverlabel // arrayOK: false @@ -293,19 +293,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Minreducedheight // arrayOK: false // type: number // Minimum height of the plot with margin.automargin applied (in px) - Minreducedheight float64 `json:"minreducedheight,omitempty"` + Minreducedheight types.NumberType `json:"minreducedheight,omitempty"` // Minreducedwidth // arrayOK: false // type: number // Minimum width of the plot with margin.automargin applied (in px) - Minreducedwidth float64 `json:"minreducedwidth,omitempty"` + Minreducedwidth types.NumberType `json:"minreducedwidth,omitempty"` // Modebar // arrayOK: false @@ -349,7 +349,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between scatter points of adjacent location coordinates. Defaults to `bargap`. - Scattergap float64 `json:"scattergap,omitempty"` + Scattergap types.NumberType `json:"scattergap,omitempty"` // Scattermode // arrayOK: false @@ -385,7 +385,7 @@ type Layout struct { // arrayOK: false // type: string // Sets the decimal and thousand separators. For example, *. * puts a '.' before decimals and a space between thousands. In English locales, dflt is *.,* but other locales may alter this default. - Separators types.String `json:"separators,omitempty"` + Separators types.StringType `json:"separators,omitempty"` // Shapes // role: Object @@ -396,7 +396,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a legend is drawn. Default is `true` if there is a trace to show and any of these: a) Two or more traces would by default be shown in the legend. b) One pie trace is shown in the legend. c) One trace is explicitly given with `showlegend: true`. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sliders // role: Object @@ -412,7 +412,7 @@ type Layout struct { // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills. - Spikedistance int64 `json:"spikedistance,omitempty"` + Spikedistance types.IntegerType `json:"spikedistance,omitempty"` // Sunburstcolorway // arrayOK: false @@ -467,13 +467,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of adjacent location coordinates. Has no effect on traces that have *width* set. - Violingap float64 `json:"violingap,omitempty"` + Violingap types.NumberType `json:"violingap,omitempty"` // Violingroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of the same location coordinate. Has no effect on traces that have *width* set. - Violingroupgap float64 `json:"violingroupgap,omitempty"` + Violingroupgap types.NumberType `json:"violingroupgap,omitempty"` // Violinmode // arrayOK: false @@ -486,13 +486,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Waterfallgap float64 `json:"waterfallgap,omitempty"` + Waterfallgap types.NumberType `json:"waterfallgap,omitempty"` // Waterfallgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Waterfallgroupgap float64 `json:"waterfallgroupgap,omitempty"` + Waterfallgroupgap types.NumberType `json:"waterfallgroupgap,omitempty"` // Waterfallmode // arrayOK: false @@ -505,7 +505,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // Xaxis // arrayOK: false @@ -571,7 +571,7 @@ type LayoutActiveselection struct { // arrayOK: false // type: number // Sets the opacity of the active selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // LayoutActiveshape @@ -587,7 +587,7 @@ type LayoutActiveshape struct { // arrayOK: false // type: number // Sets the opacity of the active shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // AnnotationFont Sets the annotation text font. @@ -603,13 +603,13 @@ type AnnotationFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // AnnotationHoverlabelFont Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`. @@ -625,13 +625,13 @@ type AnnotationHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // AnnotationHoverlabel @@ -675,7 +675,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -688,13 +688,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false @@ -738,19 +738,19 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Clicktoshow // arrayOK: false @@ -768,7 +768,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -779,67 +779,67 @@ type LayoutAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -852,13 +852,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -890,7 +890,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -922,7 +922,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` } // LayoutColoraxisColorbarTickfont Sets the color bar's tick label font @@ -938,13 +938,13 @@ type LayoutColoraxisColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutColoraxisColorbarTickformatstop @@ -960,25 +960,25 @@ type LayoutColoraxisColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutColoraxisColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -994,13 +994,13 @@ type LayoutColoraxisColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutColoraxisColorbarTitle @@ -1022,7 +1022,7 @@ type LayoutColoraxisColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutColoraxisColorbar @@ -1044,7 +1044,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1069,7 +1069,7 @@ type LayoutColoraxisColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1082,13 +1082,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1107,13 +1107,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1126,7 +1126,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1146,7 +1146,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1165,7 +1165,7 @@ type LayoutColoraxisColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1182,7 +1182,7 @@ type LayoutColoraxisColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1207,13 +1207,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1226,7 +1226,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1239,7 +1239,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1253,7 +1253,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1267,13 +1267,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1284,7 +1284,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1297,7 +1297,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1310,7 +1310,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1323,7 +1323,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1340,31 +1340,31 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 corresponding trace color array(s)) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as corresponding trace color array(s). Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorbar // arrayOK: false @@ -1381,13 +1381,13 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // LayoutColorscale @@ -1425,13 +1425,13 @@ type LayoutFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutGeoCenter @@ -1441,13 +1441,13 @@ type LayoutGeoCenter struct { // arrayOK: false // type: number // Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default. - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutGeoDomain @@ -1457,13 +1457,13 @@ type LayoutGeoDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Column int64 `json:"column,omitempty"` + 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 geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -1485,7 +1485,7 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1497,13 +1497,13 @@ type LayoutGeoLataxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1515,13 +1515,13 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoLonaxis @@ -1531,7 +1531,7 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1543,13 +1543,13 @@ type LayoutGeoLonaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1561,13 +1561,13 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoProjectionRotation @@ -1577,19 +1577,19 @@ type LayoutGeoProjectionRotation struct { // arrayOK: false // type: number // Rotates the map along meridians (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Rotates the map along parallels (in degrees East). Defaults to the center of the `lonaxis.range` values. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` // Roll // arrayOK: false // type: number // Roll the map (in degrees) For example, a roll of *180* makes the map appear upside down. - Roll float64 `json:"roll,omitempty"` + Roll types.NumberType `json:"roll,omitempty"` } // LayoutGeoProjection @@ -1599,7 +1599,7 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // For satellite projection type only. Sets the distance from the center of the sphere to the point of view as a proportion of the sphere’s radius. - Distance float64 `json:"distance,omitempty"` + Distance types.NumberType `json:"distance,omitempty"` // Parallels // arrayOK: false @@ -1616,13 +1616,13 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // Zooms in or out on the map view. A scale of *1* corresponds to the largest zoom level that fits the map's lon and lat ranges. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Tilt // arrayOK: false // type: number // For satellite projection type only. Sets the tilt angle of perspective projection. - Tilt float64 `json:"tilt,omitempty"` + Tilt types.NumberType `json:"tilt,omitempty"` // Type // arrayOK: false @@ -1656,7 +1656,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the coastline stroke width (in px). - Coastlinewidth float64 `json:"coastlinewidth,omitempty"` + Coastlinewidth types.NumberType `json:"coastlinewidth,omitempty"` // Countrycolor // arrayOK: false @@ -1668,7 +1668,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets line width (in px) of the country boundaries. - Countrywidth float64 `json:"countrywidth,omitempty"` + Countrywidth types.NumberType `json:"countrywidth,omitempty"` // Domain // arrayOK: false @@ -1692,7 +1692,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the frame. - Framewidth float64 `json:"framewidth,omitempty"` + Framewidth types.NumberType `json:"framewidth,omitempty"` // Lakecolor // arrayOK: false @@ -1744,7 +1744,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the rivers. - Riverwidth float64 `json:"riverwidth,omitempty"` + Riverwidth types.NumberType `json:"riverwidth,omitempty"` // Scope // arrayOK: false @@ -1757,49 +1757,49 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets whether or not the coastlines are drawn. - Showcoastlines types.Bool `json:"showcoastlines,omitempty"` + Showcoastlines types.BoolType `json:"showcoastlines,omitempty"` // Showcountries // arrayOK: false // type: boolean // Sets whether or not country boundaries are drawn. - Showcountries types.Bool `json:"showcountries,omitempty"` + Showcountries types.BoolType `json:"showcountries,omitempty"` // Showframe // arrayOK: false // type: boolean // Sets whether or not a frame is drawn around the map. - Showframe types.Bool `json:"showframe,omitempty"` + Showframe types.BoolType `json:"showframe,omitempty"` // Showlakes // arrayOK: false // type: boolean // Sets whether or not lakes are drawn. - Showlakes types.Bool `json:"showlakes,omitempty"` + Showlakes types.BoolType `json:"showlakes,omitempty"` // Showland // arrayOK: false // type: boolean // Sets whether or not land masses are filled in color. - Showland types.Bool `json:"showland,omitempty"` + Showland types.BoolType `json:"showland,omitempty"` // Showocean // arrayOK: false // type: boolean // Sets whether or not oceans are filled in color. - Showocean types.Bool `json:"showocean,omitempty"` + Showocean types.BoolType `json:"showocean,omitempty"` // Showrivers // arrayOK: false // type: boolean // Sets whether or not rivers are drawn. - Showrivers types.Bool `json:"showrivers,omitempty"` + Showrivers types.BoolType `json:"showrivers,omitempty"` // Showsubunits // arrayOK: false // type: boolean // Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. - Showsubunits types.Bool `json:"showsubunits,omitempty"` + Showsubunits types.BoolType `json:"showsubunits,omitempty"` // Subunitcolor // arrayOK: false @@ -1811,7 +1811,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the subunits boundaries. - Subunitwidth float64 `json:"subunitwidth,omitempty"` + Subunitwidth types.NumberType `json:"subunitwidth,omitempty"` // Uirevision // arrayOK: false @@ -1823,7 +1823,7 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets the default visibility of the base layers. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutGridDomain @@ -1849,7 +1849,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of columns in the grid. If you provide a 2D `subplots` array, the length of its longest row is used as the default. If you give an `xaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Columns int64 `json:"columns,omitempty"` + Columns types.IntegerType `json:"columns,omitempty"` // Domain // arrayOK: false @@ -1874,7 +1874,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of rows in the grid. If you provide a 2D `subplots` array or a `yaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Rows int64 `json:"rows,omitempty"` + Rows types.IntegerType `json:"rows,omitempty"` // Subplots // arrayOK: false @@ -1892,7 +1892,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Horizontal space between grid cells, expressed as a fraction of the total width available to one cell. Defaults to 0.1 for coupled-axes grids and 0.2 for independent grids. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xside // arrayOK: false @@ -1911,7 +1911,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Vertical space between grid cells, expressed as a fraction of the total height available to one cell. Defaults to 0.1 for coupled-axes grids and 0.3 for independent grids. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yside // arrayOK: false @@ -1934,13 +1934,13 @@ type LayoutHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutHoverlabelGrouptitlefont Sets the font for group titles in hover (unified modes). Defaults to `hoverlabel.font`. @@ -1956,13 +1956,13 @@ type LayoutHoverlabelGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutHoverlabel @@ -2001,7 +2001,7 @@ type LayoutHoverlabel struct { // arrayOK: false // 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. - Namelength int64 `json:"namelength,omitempty"` + Namelength types.IntegerType `json:"namelength,omitempty"` } // LayoutImage @@ -2018,25 +2018,25 @@ type LayoutImage struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the image. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizex // arrayOK: false // type: number // Sets the image container size horizontally. The image will be sized based on the `position` value. When `xref` is set to `paper`, units are sized relative to the plot width. When `xref` ends with ` domain`, units are sized relative to the axis width. - Sizex float64 `json:"sizex,omitempty"` + Sizex types.NumberType `json:"sizex,omitempty"` // Sizey // arrayOK: false // type: number // Sets the image container size vertically. The image will be sized based on the `position` value. When `yref` is set to `paper`, units are sized relative to the plot height. When `yref` ends with ` domain`, units are sized relative to the axis height. - Sizey float64 `json:"sizey,omitempty"` + Sizey types.NumberType `json:"sizey,omitempty"` // Sizing // arrayOK: false @@ -2049,19 +2049,19 @@ type LayoutImage struct { // arrayOK: false // type: string // Specifies the URL of the image to be used. The URL must be accessible from the domain where the plot code is run, and can be either relative or absolute. - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this image is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false @@ -2117,13 +2117,13 @@ type LayoutLegendFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendGrouptitlefont Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%. @@ -2139,13 +2139,13 @@ type LayoutLegendGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendTitleFont Sets this legend's title font. Defaults to `legend.font` with its size increased about 20%. @@ -2161,13 +2161,13 @@ type LayoutLegendTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendTitle @@ -2189,7 +2189,7 @@ type LayoutLegendTitle struct { // arrayOK: false // type: string // Sets the title of the legend. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutLegend @@ -2211,13 +2211,13 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the legend. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Entrywidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to *pixels*. - Entrywidth float64 `json:"entrywidth,omitempty"` + Entrywidth types.NumberType `json:"entrywidth,omitempty"` // Entrywidthmode // arrayOK: false @@ -2268,7 +2268,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the legend item symbols (the part other than the title.text). - Itemwidth float64 `json:"itemwidth,omitempty"` + Itemwidth types.NumberType `json:"itemwidth,omitempty"` // Orientation // arrayOK: false @@ -2286,7 +2286,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the amount of vertical space (in px) between legend groups. - Tracegroupgap float64 `json:"tracegroupgap,omitempty"` + Tracegroupgap types.NumberType `json:"tracegroupgap,omitempty"` // Traceorder // arrayOK: false @@ -2312,13 +2312,13 @@ type LayoutLegend struct { // arrayOK: false // type: boolean // Determines whether or not this legend is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position with respect to `xref` (in normalized coordinates) of the legend. When `xref` is *paper*, defaults to *1.02* for vertical legends and defaults to *0* for horizontal legends. When `xref` is *container*, defaults to *1* for vertical legends and defaults to *0* for horizontal legends. Must be between *0* and *1* if `xref` is *container*. and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -2338,7 +2338,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` (in normalized coordinates) of the legend. When `yref` is *paper*, defaults to *1* for vertical legends, defaults to *-0.1* for horizontal legends on graphs w/o range sliders and defaults to *1.1* for horizontal legends on graph with one or multiple range sliders. When `yref` is *container*, defaults to *1*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -2362,25 +2362,25 @@ type LayoutMapboxBounds struct { // arrayOK: false // type: number // Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared. - East float64 `json:"east,omitempty"` + East types.NumberType `json:"east,omitempty"` // North // arrayOK: false // type: number // Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared. - North float64 `json:"north,omitempty"` + North types.NumberType `json:"north,omitempty"` // South // arrayOK: false // type: number // Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared. - South float64 `json:"south,omitempty"` + South types.NumberType `json:"south,omitempty"` // West // arrayOK: false // type: number // Sets the minimum longitude of the map (in degrees East) if `east`, `south` and `north` are declared. - West float64 `json:"west,omitempty"` + West types.NumberType `json:"west,omitempty"` } // LayoutMapboxCenter @@ -2390,13 +2390,13 @@ type LayoutMapboxCenter struct { // arrayOK: false // type: number // Sets the latitude of the center of the map (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the center of the map (in degrees East). - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutMapboxDomain @@ -2406,13 +2406,13 @@ type LayoutMapboxDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this mapbox subplot . - Column int64 `json:"column,omitempty"` + 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 mapbox subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -2434,7 +2434,7 @@ type LayerCircle struct { // arrayOK: false // type: number // Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*. - Radius float64 `json:"radius,omitempty"` + Radius types.NumberType `json:"radius,omitempty"` } // LayerFill @@ -2462,13 +2462,13 @@ type LayerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `dash`. - Dashsrc types.String `json:"dashsrc,omitempty"` + Dashsrc types.StringType `json:"dashsrc,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (mapbox.layer.paint.line-width). Has an effect only when `type` is set to *line*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayerSymbolTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -2484,13 +2484,13 @@ type LayerSymbolTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayerSymbol @@ -2500,13 +2500,13 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol icon image (mapbox.layer.layout.icon-image). Full list: https://www.mapbox.com/maki-icons/ - Icon types.String `json:"icon,omitempty"` + Icon types.StringType `json:"icon,omitempty"` // Iconsize // arrayOK: false // type: number // Sets the symbol icon size (mapbox.layer.layout.icon-size). Has an effect only when `type` is set to *symbol*. - Iconsize float64 `json:"iconsize,omitempty"` + Iconsize types.NumberType `json:"iconsize,omitempty"` // Placement // arrayOK: false @@ -2519,7 +2519,7 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol text (mapbox.layer.layout.text-field). - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textfont // arrayOK: false @@ -2541,7 +2541,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Determines if the layer will be inserted before the layer with the specified ID. If omitted or set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Circle // arrayOK: false @@ -2574,25 +2574,25 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: number // Sets the maximum zoom level (mapbox.layer.maxzoom). At zoom levels equal to or greater than the maxzoom, the layer will be hidden. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Minzoom // arrayOK: false // type: number // Sets the minimum zoom level (mapbox.layer.minzoom). At zoom levels less than the minzoom, the layer will be hidden. - Minzoom float64 `json:"minzoom,omitempty"` + Minzoom types.NumberType `json:"minzoom,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the layer. If `type` is *circle*, opacity corresponds to the circle opacity (mapbox.layer.paint.circle-opacity) If `type` is *line*, opacity corresponds to the line opacity (mapbox.layer.paint.line-opacity) If `type` is *fill*, opacity corresponds to the fill opacity (mapbox.layer.paint.fill-opacity) If `type` is *symbol*, opacity corresponds to the icon/text opacity (mapbox.layer.paint.text-opacity) - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false @@ -2604,13 +2604,13 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Sets the attribution for this source. - Sourceattribution types.String `json:"sourceattribution,omitempty"` + Sourceattribution types.StringType `json:"sourceattribution,omitempty"` // Sourcelayer // arrayOK: false // type: string // Specifies the layer to use from a vector tile source (mapbox.layer.source-layer). Required for *vector* source type that supports multiple layers. - Sourcelayer types.String `json:"sourcelayer,omitempty"` + Sourcelayer types.StringType `json:"sourcelayer,omitempty"` // Sourcetype // arrayOK: false @@ -2628,7 +2628,7 @@ type LayoutMapboxLayer struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -2641,7 +2641,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: boolean // Determines whether this layer is displayed - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutMapbox @@ -2651,13 +2651,13 @@ type LayoutMapbox struct { // arrayOK: false // type: string // Sets the mapbox access token to be used for this mapbox map. Alternatively, the mapbox access token can be set in the configuration options under `mapboxAccessToken`. Note that accessToken are only required when `style` (e.g with values : basic, streets, outdoors, light, dark, satellite, satellite-streets ) and/or a layout layer references the Mapbox server. - Accesstoken types.String `json:"accesstoken,omitempty"` + Accesstoken types.StringType `json:"accesstoken,omitempty"` // Bearing // arrayOK: false // type: number // Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing). - Bearing float64 `json:"bearing,omitempty"` + Bearing types.NumberType `json:"bearing,omitempty"` // Bounds // arrayOK: false @@ -2683,7 +2683,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the pitch angle of the map (in degrees, where *0* means perpendicular to the surface of the map) (mapbox.pitch). - Pitch float64 `json:"pitch,omitempty"` + Pitch types.NumberType `json:"pitch,omitempty"` // Style // arrayOK: false @@ -2701,7 +2701,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the zoom level of the map (mapbox.zoom). - Zoom float64 `json:"zoom,omitempty"` + Zoom types.NumberType `json:"zoom,omitempty"` } // LayoutMargin @@ -2711,37 +2711,37 @@ type LayoutMargin struct { // arrayOK: false // type: boolean // Turns on/off margin expansion computations. Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider are allowed to push the margins by defaults. - Autoexpand types.Bool `json:"autoexpand,omitempty"` + Autoexpand types.BoolType `json:"autoexpand,omitempty"` // B // arrayOK: false // type: number // Sets the bottom margin (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the left margin (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // Pad // arrayOK: false // type: number // Sets the amount of padding (in px) between the plotting area and the axis lines - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // R // arrayOK: false // type: number // Sets the right margin (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the top margin (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutModebar @@ -2757,13 +2757,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to add. Please note that these buttons will only be shown if they are compatible with all trace types used in a graph. Similar to `config.modeBarButtonsToAdd` option. This may include *v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*, *drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect*, *eraseshape*. - Add *types.ArrayOK[*types.String] `json:"add,omitempty"` + Add *types.ArrayOK[*types.StringType] `json:"add,omitempty"` // Addsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `add`. - Addsrc types.String `json:"addsrc,omitempty"` + Addsrc types.StringType `json:"addsrc,omitempty"` // Bgcolor // arrayOK: false @@ -2788,13 +2788,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to remove. Similar to `config.modeBarButtonsToRemove` option. This may include *autoScale2d*, *autoscale*, *editInChartStudio*, *editinchartstudio*, *hoverCompareCartesian*, *hovercompare*, *lasso*, *lasso2d*, *orbitRotation*, *orbitrotation*, *pan*, *pan2d*, *pan3d*, *reset*, *resetCameraDefault3d*, *resetCameraLastSave3d*, *resetGeo*, *resetSankeyGroup*, *resetScale2d*, *resetViewMapbox*, *resetViews*, *resetcameradefault*, *resetcameralastsave*, *resetsankeygroup*, *resetscale*, *resetview*, *resetviews*, *select*, *select2d*, *sendDataToCloud*, *senddatatocloud*, *tableRotation*, *tablerotation*, *toImage*, *toggleHover*, *toggleSpikelines*, *togglehover*, *togglespikelines*, *toimage*, *zoom*, *zoom2d*, *zoom3d*, *zoomIn2d*, *zoomInGeo*, *zoomInMapbox*, *zoomOut2d*, *zoomOutGeo*, *zoomOutMapbox*, *zoomin*, *zoomout*. - Remove *types.ArrayOK[*types.String] `json:"remove,omitempty"` + Remove *types.ArrayOK[*types.StringType] `json:"remove,omitempty"` // Removesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `remove`. - Removesrc types.String `json:"removesrc,omitempty"` + Removesrc types.StringType `json:"removesrc,omitempty"` // Uirevision // arrayOK: false @@ -2816,13 +2816,13 @@ type LayoutNewselectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewselection @@ -2854,13 +2854,13 @@ type LayoutNewshapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutNewshapeLabel @@ -2875,19 +2875,19 @@ type LayoutNewshapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of new shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with the new shape. It is also used for legend item if `name` is not provided. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -2900,7 +2900,7 @@ type LayoutNewshapeLabel struct { // arrayOK: false // type: string // Template string used for rendering the new shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Xanchor // arrayOK: false @@ -2930,13 +2930,13 @@ type LayoutNewshapeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutNewshapeLegendgrouptitle @@ -2951,7 +2951,7 @@ type LayoutNewshapeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutNewshapeLine @@ -2967,13 +2967,13 @@ type LayoutNewshapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewshape @@ -3015,13 +3015,13 @@ type LayoutNewshape struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show new shape in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for new shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -3032,13 +3032,13 @@ type LayoutNewshape struct { // arrayOK: false // type: number // Sets the legend rank for new shape. 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for new shape. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -3049,19 +3049,19 @@ type LayoutNewshape struct { // arrayOK: false // type: string // Sets new shape name. The name appears as the legend item. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of new shapes. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not new shape is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Visible // arrayOK: false @@ -3084,13 +3084,13 @@ type LayoutPolarAngularaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarAngularaxisTickformatstop @@ -3106,25 +3106,25 @@ type LayoutPolarAngularaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarAngularaxis @@ -3149,7 +3149,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -3194,19 +3194,19 @@ type LayoutPolarAngularaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -3231,37 +3231,37 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Period // arrayOK: false // type: number // Set the angular period. Has an effect only when `angularaxis.type` is *category*. - Period float64 `json:"period,omitempty"` + Period types.NumberType `json:"period,omitempty"` // Rotation // arrayOK: false // type: angle // Sets that start position (in degrees) of the angular axis By default, polar subplots with `direction` set to *counterclockwise* get a `rotation` of *0* which corresponds to due East (like what mathematicians prefer). In turn, polar with `direction` set to *clockwise* get a rotation of *90* which corresponds to due North (like on a compass), - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -3274,19 +3274,19 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -3319,7 +3319,7 @@ type LayoutPolarAngularaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -3336,7 +3336,7 @@ type LayoutPolarAngularaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -3347,13 +3347,13 @@ type LayoutPolarAngularaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -3366,7 +3366,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -3379,7 +3379,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -3393,7 +3393,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -3407,13 +3407,13 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Type // arrayOK: false @@ -3432,7 +3432,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolarDomain @@ -3442,13 +3442,13 @@ type LayoutPolarDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this polar subplot . - Column int64 `json:"column,omitempty"` + 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 polar subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -3488,7 +3488,7 @@ type LayoutPolarRadialaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -3516,13 +3516,13 @@ type LayoutPolarRadialaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarRadialaxisTickformatstop @@ -3538,25 +3538,25 @@ type LayoutPolarRadialaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarRadialaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -3572,13 +3572,13 @@ type LayoutPolarRadialaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarRadialaxisTitle @@ -3593,7 +3593,7 @@ type LayoutPolarRadialaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutPolarRadialaxis @@ -3603,7 +3603,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: angle // Sets the angle (in degrees) from which the radial axis is drawn. Note that by default, radial axis line on the theta=0 line corresponds to a line pointing right (like what mathematicians prefer). Defaults to the first `polar.sector` angle. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Autorange // arrayOK: false @@ -3649,7 +3649,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -3687,19 +3687,19 @@ type LayoutPolarRadialaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -3724,7 +3724,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -3742,13 +3742,13 @@ type LayoutPolarRadialaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -3767,7 +3767,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -3780,19 +3780,19 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -3825,7 +3825,7 @@ type LayoutPolarRadialaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -3842,7 +3842,7 @@ type LayoutPolarRadialaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -3853,13 +3853,13 @@ type LayoutPolarRadialaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -3872,7 +3872,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -3885,7 +3885,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -3899,7 +3899,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -3913,13 +3913,13 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -3943,7 +3943,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolar @@ -3976,7 +3976,7 @@ type LayoutPolar struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the polar subplot. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Radialaxis // arrayOK: false @@ -4016,7 +4016,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -4029,25 +4029,25 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false // type: number // Sets the x component of the arrow tail about the arrow head (in pixels). - Ax float64 `json:"ax,omitempty"` + Ax types.NumberType `json:"ax,omitempty"` // Ay // arrayOK: false // type: number // Sets the y component of the arrow tail about the arrow head (in pixels). - Ay float64 `json:"ay,omitempty"` + Ay types.NumberType `json:"ay,omitempty"` // Bgcolor // arrayOK: false @@ -4065,19 +4065,19 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Font // arrayOK: false @@ -4088,7 +4088,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -4099,67 +4099,67 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -4172,13 +4172,13 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -4197,7 +4197,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -4216,7 +4216,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` // Z // arrayOK: false @@ -4232,19 +4232,19 @@ type LayoutSceneAspectratio struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraCenter Sets the (x,y,z) components of the 'center' camera vector This vector determines the translation (x,y,z) space about the center of this scene. By default, there is no such translation. @@ -4254,19 +4254,19 @@ type LayoutSceneCameraCenter struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraEye Sets the (x,y,z) components of the 'eye' camera vector. This vector determines the view point about the origin of this scene. @@ -4276,19 +4276,19 @@ type LayoutSceneCameraEye struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraProjection @@ -4309,19 +4309,19 @@ type LayoutSceneCameraUp struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCamera @@ -4355,13 +4355,13 @@ type LayoutSceneDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this scene subplot . - Column int64 `json:"column,omitempty"` + 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 scene subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -4401,7 +4401,7 @@ type LayoutSceneXaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -4429,13 +4429,13 @@ type LayoutSceneXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneXaxisTickformatstop @@ -4451,25 +4451,25 @@ type LayoutSceneXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -4485,13 +4485,13 @@ type LayoutSceneXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneXaxisTitle @@ -4506,7 +4506,7 @@ type LayoutSceneXaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneXaxis @@ -4556,7 +4556,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -4594,13 +4594,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -4618,7 +4618,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -4636,7 +4636,7 @@ type LayoutSceneXaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -4649,7 +4649,7 @@ type LayoutSceneXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -4668,19 +4668,19 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -4693,25 +4693,25 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -4737,13 +4737,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -4755,7 +4755,7 @@ type LayoutSceneXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -4772,7 +4772,7 @@ type LayoutSceneXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -4783,7 +4783,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -4796,7 +4796,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -4809,7 +4809,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -4823,7 +4823,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -4837,13 +4837,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -4861,13 +4861,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -4879,7 +4879,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneYaxisAutorangeoptions @@ -4907,7 +4907,7 @@ type LayoutSceneYaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -4935,13 +4935,13 @@ type LayoutSceneYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneYaxisTickformatstop @@ -4957,25 +4957,25 @@ type LayoutSceneYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -4991,13 +4991,13 @@ type LayoutSceneYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneYaxisTitle @@ -5012,7 +5012,7 @@ type LayoutSceneYaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneYaxis @@ -5062,7 +5062,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -5100,13 +5100,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -5124,7 +5124,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -5142,7 +5142,7 @@ type LayoutSceneYaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -5155,7 +5155,7 @@ type LayoutSceneYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -5174,19 +5174,19 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -5199,25 +5199,25 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -5243,13 +5243,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -5261,7 +5261,7 @@ type LayoutSceneYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -5278,7 +5278,7 @@ type LayoutSceneYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -5289,7 +5289,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -5302,7 +5302,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -5315,7 +5315,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -5329,7 +5329,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -5343,13 +5343,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -5367,13 +5367,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -5385,7 +5385,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneZaxisAutorangeoptions @@ -5413,7 +5413,7 @@ type LayoutSceneZaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -5441,13 +5441,13 @@ type LayoutSceneZaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneZaxisTickformatstop @@ -5463,25 +5463,25 @@ type LayoutSceneZaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneZaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -5497,13 +5497,13 @@ type LayoutSceneZaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneZaxisTitle @@ -5518,7 +5518,7 @@ type LayoutSceneZaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneZaxis @@ -5568,7 +5568,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -5606,13 +5606,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -5630,7 +5630,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -5648,7 +5648,7 @@ type LayoutSceneZaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -5661,7 +5661,7 @@ type LayoutSceneZaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -5680,19 +5680,19 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -5705,25 +5705,25 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -5749,13 +5749,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -5767,7 +5767,7 @@ type LayoutSceneZaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -5784,7 +5784,7 @@ type LayoutSceneZaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -5795,7 +5795,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -5808,7 +5808,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -5821,7 +5821,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -5835,7 +5835,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -5849,13 +5849,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -5873,13 +5873,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -5891,7 +5891,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutScene @@ -5979,13 +5979,13 @@ type SelectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutSelection @@ -6000,25 +6000,25 @@ type LayoutSelection struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path similar to `shapes.path` in data coordinates. Allowed segments are: M, L and Z. - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -6079,13 +6079,13 @@ type ShapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ShapeLabel @@ -6100,19 +6100,19 @@ type ShapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with shape. It is also used for legend item if `name` is not provided. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -6125,7 +6125,7 @@ type ShapeLabel struct { // arrayOK: false // type: string // Template string used for rendering the shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Xanchor // arrayOK: false @@ -6155,13 +6155,13 @@ type ShapeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ShapeLegendgrouptitle @@ -6176,7 +6176,7 @@ type ShapeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ShapeLine @@ -6192,13 +6192,13 @@ type ShapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutShape @@ -6208,7 +6208,7 @@ type LayoutShape struct { // arrayOK: false // type: boolean // Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Fillcolor // arrayOK: false @@ -6239,13 +6239,13 @@ type LayoutShape struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this shape in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -6256,13 +6256,13 @@ type LayoutShape struct { // arrayOK: false // type: number // Sets the legend rank for this shape. 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this shape. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -6273,31 +6273,31 @@ type LayoutShape struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path with the pixel values replaced by data values in `xsizemode`/`ysizemode` being *scaled* and taken unmodified as pixels relative to `xanchor` and `yanchor` in case of *pixel* size mode. There are a few restrictions / quirks only absolute instructions, not relative. So the allowed segments are: M, L, H, V, Q, C, T, S, and Z arcs (A) are not allowed because radius rx and ry are relative. In the future we could consider supporting relative commands, but we would have to decide on how to handle date and log axes. Note that even as is, Q and C Bezier paths that are smooth on linear axes may not be smooth on log, and vice versa. no chained "polybezier" commands - specify the segment type for each one. On category axes, values are numbers scaled to the serial numbers of categories because using the categories themselves there would be no way to describe fractional positions On data axes: because space and T are both normal components of path strings, we can't use either to separate date from time parts. Therefore we'll use underscore for this purpose: 2015-02-21_13:45:56.789 - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not this shape is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -6391,13 +6391,13 @@ type SliderCurrentvalueFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SliderCurrentvalue @@ -6412,25 +6412,25 @@ type SliderCurrentvalue struct { // arrayOK: false // type: number // The amount of space, in pixels, between the current value label and the slider. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Prefix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the prefix of the label. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the suffix of the label. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Visible // arrayOK: false // type: boolean // Shows the currently-selected value above the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Xanchor // arrayOK: false @@ -6453,13 +6453,13 @@ type SliderFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SliderPad Set the padding of the slider component along each side. @@ -6469,25 +6469,25 @@ type SliderPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // SliderStep @@ -6503,13 +6503,13 @@ type SliderStep struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_sliderchange` method and executing the API command manually without losing the benefit of the slider automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the slider - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -6522,25 +6522,25 @@ type SliderStep struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // Sets the value of the slider step, used to refer to the step programatically. Defaults to the slider label if not provided. - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this step is included in the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SliderTransition @@ -6550,7 +6550,7 @@ type SliderTransition struct { // arrayOK: false // type: number // Sets the duration of the slider transition - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -6567,7 +6567,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Determines which button (by index starting from 0) is considered active. - Active float64 `json:"active,omitempty"` + Active types.NumberType `json:"active,omitempty"` // Activebgcolor // arrayOK: false @@ -6591,7 +6591,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the slider. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Currentvalue // arrayOK: false @@ -6607,7 +6607,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length of the slider This measure excludes the padding of both ends. That is, the slider's length is this length minus the padding on both ends. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -6620,13 +6620,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of minor step tick marks - Minorticklen float64 `json:"minorticklen,omitempty"` + Minorticklen types.NumberType `json:"minorticklen,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -6642,7 +6642,7 @@ type LayoutSlider struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Tickcolor // arrayOK: false @@ -6654,13 +6654,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of step tick marks - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transition // arrayOK: false @@ -6671,13 +6671,13 @@ type LayoutSlider struct { // arrayOK: false // type: boolean // Determines whether or not the slider is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the slider. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -6690,7 +6690,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the slider. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -6707,13 +6707,13 @@ type LayoutSmithDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this smith subplot . - Column int64 `json:"column,omitempty"` + 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 smith subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -6741,13 +6741,13 @@ type LayoutSmithImaginaryaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSmithImaginaryaxis @@ -6769,19 +6769,19 @@ type LayoutSmithImaginaryaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -6806,25 +6806,25 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -6855,19 +6855,19 @@ type LayoutSmithImaginaryaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -6880,7 +6880,7 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -6894,19 +6894,19 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmithRealaxisTickfont Sets the tick font. @@ -6922,13 +6922,13 @@ type LayoutSmithRealaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSmithRealaxis @@ -6950,19 +6950,19 @@ type LayoutSmithRealaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -6987,25 +6987,25 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7032,7 +7032,7 @@ type LayoutSmithRealaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7049,19 +7049,19 @@ type LayoutSmithRealaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7074,7 +7074,7 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -7088,19 +7088,19 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmith @@ -7141,13 +7141,13 @@ type LayoutTernaryAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryAaxisTickformatstop @@ -7163,25 +7163,25 @@ type LayoutTernaryAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryAaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7197,13 +7197,13 @@ type LayoutTernaryAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryAaxisTitle @@ -7218,7 +7218,7 @@ type LayoutTernaryAaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryAaxis @@ -7253,19 +7253,19 @@ type LayoutTernaryAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7290,31 +7290,31 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -7327,19 +7327,19 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7365,7 +7365,7 @@ type LayoutTernaryAaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7382,7 +7382,7 @@ type LayoutTernaryAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -7393,13 +7393,13 @@ type LayoutTernaryAaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -7412,7 +7412,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7425,7 +7425,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -7439,7 +7439,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -7453,13 +7453,13 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -7486,13 +7486,13 @@ type LayoutTernaryBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryBaxisTickformatstop @@ -7508,25 +7508,25 @@ type LayoutTernaryBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryBaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7542,13 +7542,13 @@ type LayoutTernaryBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryBaxisTitle @@ -7563,7 +7563,7 @@ type LayoutTernaryBaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryBaxis @@ -7598,19 +7598,19 @@ type LayoutTernaryBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7635,31 +7635,31 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -7672,19 +7672,19 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7710,7 +7710,7 @@ type LayoutTernaryBaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7727,7 +7727,7 @@ type LayoutTernaryBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -7738,13 +7738,13 @@ type LayoutTernaryBaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -7757,7 +7757,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7770,7 +7770,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -7784,7 +7784,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -7798,13 +7798,13 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -7831,13 +7831,13 @@ type LayoutTernaryCaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryCaxisTickformatstop @@ -7853,25 +7853,25 @@ type LayoutTernaryCaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryCaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7887,13 +7887,13 @@ type LayoutTernaryCaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryCaxisTitle @@ -7908,7 +7908,7 @@ type LayoutTernaryCaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryCaxis @@ -7943,19 +7943,19 @@ type LayoutTernaryCaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7980,31 +7980,31 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -8017,19 +8017,19 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -8055,7 +8055,7 @@ type LayoutTernaryCaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -8072,7 +8072,7 @@ type LayoutTernaryCaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -8083,13 +8083,13 @@ type LayoutTernaryCaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -8102,7 +8102,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -8115,7 +8115,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -8129,7 +8129,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -8143,13 +8143,13 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -8170,13 +8170,13 @@ type LayoutTernaryDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this ternary subplot . - Column int64 `json:"column,omitempty"` + 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 ternary subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -8224,7 +8224,7 @@ type LayoutTernary struct { // arrayOK: false // type: number // The number each triplet should sum to, and the maximum range of each axis - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Uirevision // arrayOK: false @@ -8246,13 +8246,13 @@ type LayoutTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTitlePad Sets the padding of the title. Each padding value only applies when the corresponding `xanchor`/`yanchor` value is set accordingly. E.g. for left padding to take effect, `xanchor` must be set to *left*. The same rule applies if `xanchor`/`yanchor` is determined automatically. Padding is muted if the respective anchor value is *middle*/*center*. @@ -8262,25 +8262,25 @@ type LayoutTitlePad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutTitle @@ -8290,7 +8290,7 @@ type LayoutTitle struct { // arrayOK: false // type: boolean // Determines whether the title can automatically push the figure margins. If `yref='paper'` then the margin will expand to ensure that the title doesn’t overlap with the edges of the container. If `yref='container'` then the margins will ensure that the title doesn’t overlap with the plot area, tick labels, and axis titles. If `automargin=true` and the margins need to be expanded, then y will be set to a default 1 and yanchor will be set to an appropriate default to ensure that minimal margin space is needed. Note that when `yref='paper'`, only 1 or 0 are allowed y values. Invalid values will be reset to the default 1. - Automargin types.Bool `json:"automargin,omitempty"` + Automargin types.BoolType `json:"automargin,omitempty"` // Font // arrayOK: false @@ -8306,13 +8306,13 @@ type LayoutTitle struct { // arrayOK: false // type: string // Sets the plot's title. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // X // arrayOK: false // type: number // Sets the x position with respect to `xref` in normalized coordinates from *0* (left) to *1* (right). - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8332,7 +8332,7 @@ type LayoutTitle struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` in normalized coordinates from *0* (bottom) to *1* (top). *auto* places the baseline of the title onto the vertical center of the top margin. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8356,7 +8356,7 @@ type LayoutTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -8380,7 +8380,7 @@ type LayoutUniformtext struct { // arrayOK: false // type: number // Sets the minimum text size between traces of the same type. - Minsize float64 `json:"minsize,omitempty"` + Minsize types.NumberType `json:"minsize,omitempty"` // Mode // arrayOK: false @@ -8409,13 +8409,13 @@ type UpdatemenuButton struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_buttonclicked` method and executing the API command manually without losing the benefit of the updatemenu automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -8428,19 +8428,19 @@ type UpdatemenuButton struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // UpdatemenuFont Sets the font of the update menu button text. @@ -8456,13 +8456,13 @@ type UpdatemenuFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // UpdatemenuPad Sets the padding around the buttons or dropdown menu. @@ -8472,25 +8472,25 @@ type UpdatemenuPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutUpdatemenu @@ -8500,7 +8500,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: integer // Determines which button (by index starting from 0) is considered active. - Active int64 `json:"active,omitempty"` + Active types.IntegerType `json:"active,omitempty"` // Bgcolor // arrayOK: false @@ -8518,7 +8518,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the update menu. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -8541,7 +8541,7 @@ type LayoutUpdatemenu struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -8552,13 +8552,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Highlights active dropdown item or active button if true. - Showactive types.Bool `json:"showactive,omitempty"` + Showactive types.BoolType `json:"showactive,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -8571,13 +8571,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Determines whether or not the update menu is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the update menu. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8590,7 +8590,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the update menu. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8625,7 +8625,7 @@ type LayoutXaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -8659,25 +8659,25 @@ type LayoutXaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -8695,7 +8695,7 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -8723,13 +8723,13 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutXaxisRangebreak @@ -8745,19 +8745,19 @@ type LayoutXaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -8770,7 +8770,7 @@ type LayoutXaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -8786,19 +8786,19 @@ type LayoutXaxisRangeselectorButton struct { // arrayOK: false // type: number // Sets the number of steps to take to update the range. Use with `step` to specify the update interval. - Count float64 `json:"count,omitempty"` + Count types.NumberType `json:"count,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Step // arrayOK: false @@ -8818,13 +8818,13 @@ type LayoutXaxisRangeselectorButton struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutXaxisRangeselectorFont Sets the font of the range selector button text. @@ -8840,13 +8840,13 @@ type LayoutXaxisRangeselectorFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisRangeselector @@ -8874,7 +8874,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the range selector. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -8890,13 +8890,13 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: boolean // Determines whether or not this range selector is visible. Note that range selectors are only available for x axes of `type` set to or auto-typed to *date*. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the range selector. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8909,7 +8909,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the range selector. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8943,7 +8943,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: boolean // Determines whether or not the range slider range is computed in relation to the input data. If `range` is provided, then `autorange` is set to *false*. - Autorange types.Bool `json:"autorange,omitempty"` + Autorange types.BoolType `json:"autorange,omitempty"` // Bgcolor // arrayOK: false @@ -8961,7 +8961,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: integer // Sets the border width of the range slider. - Borderwidth int64 `json:"borderwidth,omitempty"` + Borderwidth types.IntegerType `json:"borderwidth,omitempty"` // Range // arrayOK: false @@ -8973,13 +8973,13 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: number // The height of the range slider as a fraction of the total plot area height. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not the range slider will be visible. If visible, perpendicular axes will be set to `fixedrange` - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Yaxis // arrayOK: false @@ -9000,13 +9000,13 @@ type LayoutXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisTickformatstop @@ -9022,25 +9022,25 @@ type LayoutXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -9056,13 +9056,13 @@ type LayoutXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisTitle @@ -9077,13 +9077,13 @@ type LayoutXaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutXaxis @@ -9147,7 +9147,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -9186,7 +9186,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -9211,7 +9211,7 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -9223,19 +9223,19 @@ type LayoutXaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Insiderange // arrayOK: false @@ -9266,7 +9266,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -9291,7 +9291,7 @@ type LayoutXaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -9309,7 +9309,7 @@ type LayoutXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -9322,7 +9322,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -9363,19 +9363,19 @@ type LayoutXaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -9388,25 +9388,25 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -9439,7 +9439,7 @@ type LayoutXaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -9459,7 +9459,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -9471,7 +9471,7 @@ type LayoutXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -9488,7 +9488,7 @@ type LayoutXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -9520,13 +9520,13 @@ type LayoutXaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9539,7 +9539,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -9559,7 +9559,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -9573,7 +9573,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -9587,13 +9587,13 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -9617,13 +9617,13 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -9635,7 +9635,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutYaxisAutorangeoptions @@ -9663,7 +9663,7 @@ type LayoutYaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -9697,25 +9697,25 @@ type LayoutYaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -9733,7 +9733,7 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9761,13 +9761,13 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutYaxisRangebreak @@ -9783,19 +9783,19 @@ type LayoutYaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -9808,7 +9808,7 @@ type LayoutYaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -9830,13 +9830,13 @@ type LayoutYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutYaxisTickformatstop @@ -9852,25 +9852,25 @@ type LayoutYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -9886,13 +9886,13 @@ type LayoutYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutYaxisTitle @@ -9907,13 +9907,13 @@ type LayoutYaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutYaxis @@ -9949,7 +9949,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Automatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to true. Only has an effect if `anchor` is set to *free*. - Autoshift types.Bool `json:"autoshift,omitempty"` + Autoshift types.BoolType `json:"autoshift,omitempty"` // Autotickangles // arrayOK: false @@ -9983,7 +9983,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -10022,7 +10022,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -10047,7 +10047,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -10059,19 +10059,19 @@ type LayoutYaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Insiderange // arrayOK: false @@ -10102,7 +10102,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -10127,7 +10127,7 @@ type LayoutYaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -10145,7 +10145,7 @@ type LayoutYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -10158,7 +10158,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -10189,25 +10189,25 @@ type LayoutYaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Shift // arrayOK: false // type: number // Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to *left*. and defaults to +3 if `side` is set to *right*. Defaults to 0 if `autoshift` is set to false. Only has an effect if `anchor` is set to *free*. - Shift float64 `json:"shift,omitempty"` + Shift types.NumberType `json:"shift,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -10220,25 +10220,25 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -10271,7 +10271,7 @@ type LayoutYaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -10291,7 +10291,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -10303,7 +10303,7 @@ type LayoutYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -10320,7 +10320,7 @@ type LayoutYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -10352,13 +10352,13 @@ type LayoutYaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -10371,7 +10371,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -10391,7 +10391,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -10405,7 +10405,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -10419,13 +10419,13 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -10449,13 +10449,13 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -10467,7 +10467,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // AnnotationAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.29.1/graph_objects/mesh3d_gen.go b/generated/v2.29.1/graph_objects/mesh3d_gen.go index a725a1b..17a0041 100644 --- a/generated/v2.29.1/graph_objects/mesh3d_gen.go +++ b/generated/v2.29.1/graph_objects/mesh3d_gen.go @@ -32,37 +32,37 @@ type Mesh3d struct { // arrayOK: false // type: number // Determines how the mesh surface triangles are derived from the set of vertices (points) represented by the `x`, `y` and `z` arrays, if the `i`, `j`, `k` arrays are not supplied. For general use of `mesh3d` it is preferred that `i`, `j`, `k` are supplied. If *-1*, Delaunay triangulation is used, which is mainly suitable if the mesh is a single, more or less layer surface that is perpendicular to `delaunayaxis`. In case the `delaunayaxis` intersects the mesh surface at more than one point it will result triangles that are very long in the dimension of `delaunayaxis`. If *>0*, the alpha-shape algorithm is used. In this case, the positive `alphahull` value signals the use of the alpha-shape algorithm, _and_ its value acts as the parameter for the mesh fitting. If *0*, the convex-hull algorithm is used. It is suitable for convex bodies or if the intention is to enclose the `x`, `y` and `z` point set into a convex hull. - Alphahull float64 `json:"alphahull,omitempty"` + Alphahull types.NumberType `json:"alphahull,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `intensity`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `intensity` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `intensity`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `intensity` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: false @@ -74,7 +74,7 @@ type Mesh3d struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -104,7 +104,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delaunayaxis // arrayOK: false @@ -125,13 +125,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `facecolor`. - Facecolorsrc types.String `json:"facecolorsrc,omitempty"` + Facecolorsrc types.StringType `json:"facecolorsrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -144,7 +144,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -155,25 +155,25 @@ type Mesh3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // I // arrayOK: false @@ -195,7 +195,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Intensity // arrayOK: false @@ -216,13 +216,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `intensity`. - Intensitysrc types.String `json:"intensitysrc,omitempty"` + Intensitysrc types.StringType `json:"intensitysrc,omitempty"` // Isrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `i`. - Isrc types.String `json:"isrc,omitempty"` + Isrc types.StringType `json:"isrc,omitempty"` // J // arrayOK: false @@ -236,7 +236,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `j`. - Jsrc types.String `json:"jsrc,omitempty"` + Jsrc types.StringType `json:"jsrc,omitempty"` // K // arrayOK: false @@ -250,19 +250,19 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `k`. - Ksrc types.String `json:"ksrc,omitempty"` + Ksrc types.StringType `json:"ksrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -273,13 +273,13 @@ type Mesh3d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -301,43 +301,43 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -348,19 +348,19 @@ type Mesh3d struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -380,7 +380,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `vertexcolor`. - Vertexcolorsrc types.String `json:"vertexcolorsrc,omitempty"` + Vertexcolorsrc types.StringType `json:"vertexcolorsrc,omitempty"` // Visible // arrayOK: false @@ -408,13 +408,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -435,13 +435,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -462,13 +462,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Mesh3dColorbarTickfont Sets the color bar's tick label font @@ -484,13 +484,13 @@ type Mesh3dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dColorbarTickformatstop @@ -506,25 +506,25 @@ type Mesh3dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Mesh3dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -540,13 +540,13 @@ type Mesh3dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dColorbarTitle @@ -568,7 +568,7 @@ type Mesh3dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dColorbar @@ -590,7 +590,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -615,7 +615,7 @@ type Mesh3dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -628,13 +628,13 @@ type Mesh3dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -653,13 +653,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -672,7 +672,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -692,7 +692,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -711,7 +711,7 @@ type Mesh3dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -728,7 +728,7 @@ type Mesh3dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -753,13 +753,13 @@ type Mesh3dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -772,7 +772,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -785,7 +785,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -799,7 +799,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -813,13 +813,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -830,7 +830,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -843,7 +843,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -856,7 +856,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -869,7 +869,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -892,13 +892,13 @@ type Mesh3dContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Mesh3dHoverlabelFont Sets the font used in hover labels. @@ -914,31 +914,31 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Mesh3dHoverlabel @@ -955,7 +955,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -967,7 +967,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -979,7 +979,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -990,13 +990,13 @@ type Mesh3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Mesh3dLegendgrouptitleFont Sets this legend group's title font. @@ -1012,13 +1012,13 @@ type Mesh3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dLegendgrouptitle @@ -1033,7 +1033,7 @@ type Mesh3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dLighting @@ -1043,43 +1043,43 @@ type Mesh3dLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // Mesh3dLightposition @@ -1089,19 +1089,19 @@ type Mesh3dLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // Mesh3dStream @@ -1111,13 +1111,13 @@ type Mesh3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Mesh3dColorbarExponentformat 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. diff --git a/generated/v2.29.1/graph_objects/ohlc_gen.go b/generated/v2.29.1/graph_objects/ohlc_gen.go index 8193a09..7fc9dbc 100644 --- a/generated/v2.29.1/graph_objects/ohlc_gen.go +++ b/generated/v2.29.1/graph_objects/ohlc_gen.go @@ -40,7 +40,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Ohlc struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,13 +128,13 @@ type Ohlc struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -145,13 +145,13 @@ type Ohlc struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -170,7 +170,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -182,19 +182,19 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -208,7 +208,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -220,7 +220,7 @@ type Ohlc struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -231,19 +231,19 @@ type Ohlc struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the width of the open/close tick marks relative to the *x* minimal interval. - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transforms // role: Object @@ -254,7 +254,7 @@ type Ohlc struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -281,7 +281,7 @@ type Ohlc struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -294,7 +294,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -319,19 +319,19 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // OhlcDecreasingLine @@ -347,13 +347,13 @@ type OhlcDecreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcDecreasing @@ -378,31 +378,31 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // OhlcHoverlabel @@ -419,7 +419,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -431,7 +431,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -443,7 +443,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -454,19 +454,19 @@ type OhlcHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // OhlcIncreasingLine @@ -482,13 +482,13 @@ type OhlcIncreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcIncreasing @@ -513,13 +513,13 @@ type OhlcLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // OhlcLegendgrouptitle @@ -534,7 +534,7 @@ type OhlcLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // OhlcLine @@ -544,13 +544,13 @@ type OhlcLine struct { // 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*). Note that this style setting can also be set per direction via `increasing.line.dash` and `decreasing.line.dash`. - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // [object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcStream @@ -560,13 +560,13 @@ type OhlcStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // OhlcTransform 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. diff --git a/generated/v2.29.1/graph_objects/parcats_gen.go b/generated/v2.29.1/graph_objects/parcats_gen.go index 0a559f5..eec8687 100644 --- a/generated/v2.29.1/graph_objects/parcats_gen.go +++ b/generated/v2.29.1/graph_objects/parcats_gen.go @@ -39,19 +39,19 @@ type Parcats struct { // arrayOK: false // type: boolean // Sort paths so that like colors are bundled together within each category. - Bundlecolors types.Bool `json:"bundlecolors,omitempty"` + 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 - Counts *types.ArrayOK[*float64] `json:"counts,omitempty"` + Counts *types.ArrayOK[*types.NumberType] `json:"counts,omitempty"` // Countssrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `counts`. - Countssrc types.String `json:"countssrc,omitempty"` + Countssrc types.StringType `json:"countssrc,omitempty"` // Dimensions // role: Object @@ -81,7 +81,7 @@ type Parcats struct { // 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. This value here applies when hovering over dimensions. Note that `*categorycount`, *colorcount* and *bandcolorcount* are only available when `hoveron` contains the *color* flagFinally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + Hovertemplate types.StringType `json:"hovertemplate,omitempty"` // Labelfont // arrayOK: false @@ -97,7 +97,7 @@ type Parcats struct { // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -114,13 +114,13 @@ type Parcats struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Sortpaths // arrayOK: false @@ -148,7 +148,7 @@ type Parcats struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -179,7 +179,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -192,13 +192,13 @@ type ParcatsDimension struct { // arrayOK: false // type: integer // The display index of dimension, from left to right, zero indexed, defaults to dimension index. - Displayindex int64 `json:"displayindex,omitempty"` + Displayindex types.IntegerType `json:"displayindex,omitempty"` // Label // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Ticktext // arrayOK: false @@ -212,7 +212,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Values // arrayOK: false @@ -226,13 +226,13 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcatsDomain @@ -242,13 +242,13 @@ type ParcatsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcats trace . - Column int64 `json:"column,omitempty"` + 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 . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -276,13 +276,13 @@ type ParcatsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLegendgrouptitleFont Sets this legend group's title font. @@ -298,13 +298,13 @@ type ParcatsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLegendgrouptitle @@ -319,7 +319,7 @@ type ParcatsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbarTickfont Sets the color bar's tick label font @@ -335,13 +335,13 @@ type ParcatsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLineColorbarTickformatstop @@ -357,25 +357,25 @@ type ParcatsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -391,13 +391,13 @@ type ParcatsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLineColorbarTitle @@ -419,7 +419,7 @@ type ParcatsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbar @@ -441,7 +441,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -466,7 +466,7 @@ type ParcatsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -479,13 +479,13 @@ type ParcatsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -504,13 +504,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -523,7 +523,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -543,7 +543,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -562,7 +562,7 @@ type ParcatsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -579,7 +579,7 @@ type ParcatsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -604,13 +604,13 @@ type ParcatsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -623,7 +623,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -636,7 +636,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -650,7 +650,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -664,13 +664,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -681,7 +681,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -694,7 +694,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -707,7 +707,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -720,7 +720,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -737,31 +737,31 @@ type ParcatsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -773,7 +773,7 @@ type ParcatsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -790,19 +790,19 @@ type ParcatsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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. This value here applies when hovering over lines.Finally, the template string has access to variables `count` and `probability`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Shape // arrayOK: false @@ -815,7 +815,7 @@ type ParcatsLine struct { // 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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcatsStream @@ -825,13 +825,13 @@ type ParcatsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcatsTickfont Sets the font for the `category` labels. @@ -847,13 +847,13 @@ type ParcatsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + 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. diff --git a/generated/v2.29.1/graph_objects/parcoords_gen.go b/generated/v2.29.1/graph_objects/parcoords_gen.go index 78b45dd..78fe96f 100644 --- a/generated/v2.29.1/graph_objects/parcoords_gen.go +++ b/generated/v2.29.1/graph_objects/parcoords_gen.go @@ -40,7 +40,7 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dimensions // role: Object @@ -64,13 +64,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Labelangle // arrayOK: false // type: angle // Sets the angle of the labels with respect to the horizontal. For example, a `tickangle` of -90 draws the labels vertically. Tilted labels with *labelangle* may be positioned better inside margins when `labelposition` is set to *bottom*. - Labelangle float64 `json:"labelangle,omitempty"` + Labelangle types.NumberType `json:"labelangle,omitempty"` // Labelfont // arrayOK: false @@ -88,7 +88,7 @@ type Parcoords struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -99,13 +99,13 @@ type Parcoords struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -122,13 +122,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Rangefont // arrayOK: false @@ -154,7 +154,7 @@ type Parcoords struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -188,19 +188,19 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Multiselect // arrayOK: false // type: boolean // Do we allow multiple selection ranges or just a single range? - Multiselect types.Bool `json:"multiselect,omitempty"` + Multiselect types.BoolType `json:"multiselect,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -212,13 +212,13 @@ type ParcoordsDimension struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticktext // arrayOK: false @@ -232,7 +232,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -246,7 +246,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Values // arrayOK: false @@ -260,13 +260,13 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcoordsDomain @@ -276,13 +276,13 @@ type ParcoordsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcoords trace . - Column int64 `json:"column,omitempty"` + 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 parcoords trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -310,13 +310,13 @@ type ParcoordsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLegendgrouptitleFont Sets this legend group's title font. @@ -332,13 +332,13 @@ type ParcoordsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLegendgrouptitle @@ -353,7 +353,7 @@ type ParcoordsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbarTickfont Sets the color bar's tick label font @@ -369,13 +369,13 @@ type ParcoordsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLineColorbarTickformatstop @@ -391,25 +391,25 @@ type ParcoordsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ParcoordsLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -425,13 +425,13 @@ type ParcoordsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLineColorbarTitle @@ -453,7 +453,7 @@ type ParcoordsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbar @@ -475,7 +475,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -500,7 +500,7 @@ type ParcoordsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -513,13 +513,13 @@ type ParcoordsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -538,13 +538,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -557,7 +557,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -577,7 +577,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -596,7 +596,7 @@ type ParcoordsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -613,7 +613,7 @@ type ParcoordsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -638,13 +638,13 @@ type ParcoordsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -657,7 +657,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -670,7 +670,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -684,7 +684,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -698,13 +698,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -715,7 +715,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -728,7 +728,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -741,7 +741,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -754,7 +754,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -771,31 +771,31 @@ type ParcoordsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -807,7 +807,7 @@ type ParcoordsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -824,19 +824,19 @@ type ParcoordsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcoordsRangefont Sets the font for the `dimension` range values. @@ -852,13 +852,13 @@ type ParcoordsRangefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsStream @@ -868,13 +868,13 @@ type ParcoordsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcoordsTickfont Sets the font for the `dimension` tick values. @@ -890,13 +890,13 @@ type ParcoordsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsTransform 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. @@ -916,7 +916,7 @@ type ParcoordsUnselectedLine struct { // arrayOK: false // type: number // Sets the opacity of unselected lines. The default *auto* decreases the opacity smoothly as the number of lines increases. Use *1* to achieve exact `unselected.line.color`. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ParcoordsUnselected diff --git a/generated/v2.29.1/graph_objects/pie_gen.go b/generated/v2.29.1/graph_objects/pie_gen.go index 8522afa..38d7741 100644 --- a/generated/v2.29.1/graph_objects/pie_gen.go +++ b/generated/v2.29.1/graph_objects/pie_gen.go @@ -32,7 +32,7 @@ type Pie struct { // arrayOK: false // type: boolean // Determines whether outside text labels can push the margins. - Automargin types.Bool `json:"automargin,omitempty"` + Automargin types.BoolType `json:"automargin,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Direction // arrayOK: false @@ -59,7 +59,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -70,7 +70,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the pie. Use this to make a donut chart. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Hoverinfo // arrayOK: true @@ -83,7 +83,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Pie struct { // 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. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -144,7 +144,7 @@ type Pie struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -158,19 +158,19 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -181,13 +181,13 @@ type Pie struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -204,19 +204,19 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -227,37 +227,37 @@ type Pie struct { // arrayOK: true // type: number // Sets the fraction of larger radius to pull the sectors out from the center. This can be a constant to pull all slices apart from each other equally or an array to highlight one or more slices. - Pull *types.ArrayOK[*float64] `json:"pull,omitempty"` + Pull *types.ArrayOK[*types.NumberType] `json:"pull,omitempty"` // Pullsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `pull`. - Pullsrc types.String `json:"pullsrc,omitempty"` + Pullsrc types.StringType `json:"pullsrc,omitempty"` // Rotation // arrayOK: false // type: angle // Instead of the first slice starting at 12 o'clock, rotate to some other angle. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple pie charts that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -295,25 +295,25 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -329,7 +329,7 @@ type Pie struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -349,7 +349,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -366,13 +366,13 @@ type PieDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this pie trace . - Column int64 `json:"column,omitempty"` + 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 pie trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -400,31 +400,31 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieHoverlabel @@ -441,7 +441,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -453,7 +453,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -465,7 +465,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -476,13 +476,13 @@ type PieHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PieInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -498,31 +498,31 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieLegendgrouptitleFont Sets this legend group's title font. @@ -538,13 +538,13 @@ type PieLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // PieLegendgrouptitle @@ -559,7 +559,7 @@ type PieLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieMarkerLine @@ -575,19 +575,19 @@ type PieMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // PieMarkerPattern Sets the pattern within the marker. @@ -603,7 +603,7 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -615,13 +615,13 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -641,31 +641,31 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // PieMarker @@ -683,7 +683,7 @@ type PieMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -709,31 +709,31 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieStream @@ -743,13 +743,13 @@ type PieStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PieTextfont Sets the font used for `textinfo`. @@ -765,31 +765,31 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -805,31 +805,31 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieTitle @@ -851,7 +851,7 @@ type PieTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieTransform 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. diff --git a/generated/v2.29.1/graph_objects/pointcloud_gen.go b/generated/v2.29.1/graph_objects/pointcloud_gen.go index 95241bf..50af194 100644 --- a/generated/v2.29.1/graph_objects/pointcloud_gen.go +++ b/generated/v2.29.1/graph_objects/pointcloud_gen.go @@ -40,7 +40,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -53,7 +53,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -72,7 +72,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Indices // arrayOK: false @@ -86,19 +86,19 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `indices`. - Indicessrc types.String `json:"indicessrc,omitempty"` + Indicessrc types.StringType `json:"indicessrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -109,13 +109,13 @@ type Pointcloud struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -132,25 +132,25 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -161,19 +161,19 @@ type Pointcloud struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -200,7 +200,7 @@ type Pointcloud struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbounds // arrayOK: false @@ -214,13 +214,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xbounds`. - Xboundssrc types.String `json:"xboundssrc,omitempty"` + Xboundssrc types.StringType `json:"xboundssrc,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xy // arrayOK: false @@ -234,7 +234,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xy`. - Xysrc types.String `json:"xysrc,omitempty"` + Xysrc types.StringType `json:"xysrc,omitempty"` // Y // arrayOK: false @@ -248,7 +248,7 @@ type Pointcloud struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybounds // arrayOK: false @@ -262,13 +262,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ybounds`. - Yboundssrc types.String `json:"yboundssrc,omitempty"` + Yboundssrc types.StringType `json:"yboundssrc,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // PointcloudHoverlabelFont Sets the font used in hover labels. @@ -284,31 +284,31 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PointcloudHoverlabel @@ -325,7 +325,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -337,7 +337,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -349,7 +349,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -360,13 +360,13 @@ type PointcloudHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PointcloudLegendgrouptitleFont Sets this legend group's title font. @@ -382,13 +382,13 @@ type PointcloudLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // PointcloudLegendgrouptitle @@ -403,7 +403,7 @@ type PointcloudLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PointcloudMarkerBorder @@ -413,7 +413,7 @@ type PointcloudMarkerBorder struct { // arrayOK: false // type: number // Specifies what fraction of the marker area is covered with the border. - Arearatio float64 `json:"arearatio,omitempty"` + Arearatio types.NumberType `json:"arearatio,omitempty"` // Color // arrayOK: false @@ -429,7 +429,7 @@ type PointcloudMarker struct { // arrayOK: false // type: boolean // Determines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `true` reduces zoom/pan speed if used with large numbers of points. - Blend types.Bool `json:"blend,omitempty"` + Blend types.BoolType `json:"blend,omitempty"` // Border // arrayOK: false @@ -446,19 +446,19 @@ type PointcloudMarker struct { // arrayOK: false // type: number // Sets the marker opacity. The default value is `1` (fully opaque). If the markers are not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning. Opacity fades the color even if `blend` is left on `false` even if there is no translucency effect in that case. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizemax // arrayOK: false // type: number // Sets the maximum size (in px) of the rendered marker points. Effective when the `pointcloud` shows only few points. - Sizemax float64 `json:"sizemax,omitempty"` + Sizemax types.NumberType `json:"sizemax,omitempty"` // Sizemin // arrayOK: false // type: number // Sets the minimum size (in px) of the rendered marker points, effective when the `pointcloud` shows a million or more points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` } // PointcloudStream @@ -468,13 +468,13 @@ type PointcloudStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PointcloudHoverlabelAlign 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 diff --git a/generated/v2.29.1/graph_objects/sankey_gen.go b/generated/v2.29.1/graph_objects/sankey_gen.go index 26e9dcc..73b5944 100644 --- a/generated/v2.29.1/graph_objects/sankey_gen.go +++ b/generated/v2.29.1/graph_objects/sankey_gen.go @@ -47,7 +47,7 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -78,13 +78,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -95,13 +95,13 @@ type Sankey struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Link // arrayOK: false @@ -118,13 +118,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Node // arrayOK: false @@ -158,7 +158,7 @@ type Sankey struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -170,13 +170,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` // Valuesuffix // arrayOK: false // type: string // Adds a unit to follow the value in the hover tooltip. Add a space if a separation is necessary from the value. - Valuesuffix types.String `json:"valuesuffix,omitempty"` + Valuesuffix types.StringType `json:"valuesuffix,omitempty"` // Visible // arrayOK: false @@ -193,13 +193,13 @@ type SankeyDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sankey trace . - Column int64 `json:"column,omitempty"` + 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 sankey trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -227,31 +227,31 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyHoverlabel @@ -268,7 +268,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -280,7 +280,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -292,7 +292,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -303,13 +303,13 @@ type SankeyHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLegendgrouptitleFont Sets this legend group's title font. @@ -325,13 +325,13 @@ type SankeyLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SankeyLegendgrouptitle @@ -346,7 +346,7 @@ type SankeyLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SankeyLinkConcentrationscales @@ -356,13 +356,13 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: number // Sets the upper bound of the color domain. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorscale // arrayOK: false @@ -374,19 +374,19 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: string // The label of the links to color based on their concentration within a flow. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` } // SankeyLinkHoverlabelFont Sets the font used in hover labels. @@ -402,31 +402,31 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyLinkHoverlabel @@ -443,7 +443,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -455,7 +455,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -467,7 +467,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -478,13 +478,13 @@ type SankeyLinkHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLinkLine @@ -500,19 +500,19 @@ type SankeyLinkLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `link`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyLink The links of the Sankey plot. @@ -522,7 +522,7 @@ type SankeyLink struct { // arrayOK: false // type: number // Sets the length (in px) of the links arrow, if 0 no arrow will be drawn. - Arrowlen float64 `json:"arrowlen,omitempty"` + Arrowlen types.NumberType `json:"arrowlen,omitempty"` // Color // arrayOK: true @@ -539,7 +539,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -553,7 +553,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hovercolor // arrayOK: true @@ -565,7 +565,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovercolor`. - Hovercolorsrc types.String `json:"hovercolorsrc,omitempty"` + Hovercolorsrc types.StringType `json:"hovercolorsrc,omitempty"` // Hoverinfo // arrayOK: false @@ -583,13 +583,13 @@ type SankeyLink struct { // 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. Variables `source` and `target` are node objects.Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -603,7 +603,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -622,7 +622,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `source`. - Sourcesrc types.String `json:"sourcesrc,omitempty"` + Sourcesrc types.StringType `json:"sourcesrc,omitempty"` // Target // arrayOK: false @@ -636,7 +636,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `target`. - Targetsrc types.String `json:"targetsrc,omitempty"` + Targetsrc types.StringType `json:"targetsrc,omitempty"` // Value // arrayOK: false @@ -650,7 +650,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` } // SankeyNodeHoverlabelFont Sets the font used in hover labels. @@ -666,31 +666,31 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyNodeHoverlabel @@ -707,7 +707,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -719,7 +719,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -731,7 +731,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -742,13 +742,13 @@ type SankeyNodeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyNodeLine @@ -764,19 +764,19 @@ type SankeyNodeLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `node`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyNode The nodes of the Sankey plot. @@ -799,7 +799,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -813,7 +813,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Groups // arrayOK: false @@ -837,13 +837,13 @@ type SankeyNode struct { // 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. Variables `sourceLinks` and `targetLinks` are arrays of link objects.Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -857,7 +857,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -868,13 +868,13 @@ type SankeyNode struct { // arrayOK: false // type: number // Sets the padding (in px) between the `nodes`. - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the `nodes`. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // X // arrayOK: false @@ -888,7 +888,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -902,7 +902,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // SankeyStream @@ -912,13 +912,13 @@ type SankeyStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SankeyTextfont Sets the font for node labels @@ -934,13 +934,13 @@ type SankeyTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SankeyArrangement If value is `snap` (the default), the node arrangement is assisted by automatic snapping of elements to preserve space between nodes specified via `nodepad`. If value is `perpendicular`, the nodes can only move along a line perpendicular to the flow. If value is `freeform`, the nodes can freely move on the plane. If value is `fixed`, the nodes are stationary. diff --git a/generated/v2.29.1/graph_objects/scatter3d_gen.go b/generated/v2.29.1/graph_objects/scatter3d_gen.go index d931ba7..535cf37 100644 --- a/generated/v2.29.1/graph_objects/scatter3d_gen.go +++ b/generated/v2.29.1/graph_objects/scatter3d_gen.go @@ -32,7 +32,7 @@ type Scatter3d struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -74,7 +74,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -85,25 +85,25 @@ type Scatter3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,19 +117,19 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -140,13 +140,13 @@ type Scatter3d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -168,7 +168,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -181,13 +181,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Projection // arrayOK: false @@ -198,13 +198,13 @@ type Scatter3d struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -228,7 +228,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -246,25 +246,25 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -275,7 +275,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -309,13 +309,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -336,13 +336,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -363,13 +363,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Scatter3dErrorX @@ -395,13 +395,13 @@ type Scatter3dErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -413,31 +413,31 @@ type Scatter3dErrorX struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -450,25 +450,25 @@ type Scatter3dErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorY @@ -494,13 +494,13 @@ type Scatter3dErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -512,31 +512,31 @@ type Scatter3dErrorY struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -549,25 +549,25 @@ type Scatter3dErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorZ @@ -593,13 +593,13 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -611,25 +611,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -642,25 +642,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dHoverlabelFont Sets the font used in hover labels. @@ -676,31 +676,31 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Scatter3dHoverlabel @@ -717,7 +717,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -729,7 +729,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -741,7 +741,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -752,13 +752,13 @@ type Scatter3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Scatter3dLegendgrouptitleFont Sets this legend group's title font. @@ -774,13 +774,13 @@ type Scatter3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLegendgrouptitle @@ -795,7 +795,7 @@ type Scatter3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbarTickfont Sets the color bar's tick label font @@ -811,13 +811,13 @@ type Scatter3dLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLineColorbarTickformatstop @@ -833,25 +833,25 @@ type Scatter3dLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -867,13 +867,13 @@ type Scatter3dLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLineColorbarTitle @@ -895,7 +895,7 @@ type Scatter3dLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbar @@ -917,7 +917,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -942,7 +942,7 @@ type Scatter3dLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -955,13 +955,13 @@ type Scatter3dLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -980,13 +980,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -999,7 +999,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1019,7 +1019,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1038,7 +1038,7 @@ type Scatter3dLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1055,7 +1055,7 @@ type Scatter3dLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1080,13 +1080,13 @@ type Scatter3dLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1099,7 +1099,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1112,7 +1112,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1126,7 +1126,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1140,13 +1140,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1157,7 +1157,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1170,7 +1170,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1183,7 +1183,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1196,7 +1196,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1213,31 +1213,31 @@ type Scatter3dLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1249,7 +1249,7 @@ type Scatter3dLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1266,7 +1266,7 @@ type Scatter3dLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Dash // arrayOK: false @@ -1279,19 +1279,19 @@ type Scatter3dLine struct { // 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarkerColorbarTickfont Sets the color bar's tick label font @@ -1307,13 +1307,13 @@ type Scatter3dMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dMarkerColorbarTickformatstop @@ -1329,25 +1329,25 @@ type Scatter3dMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1363,13 +1363,13 @@ type Scatter3dMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dMarkerColorbarTitle @@ -1391,7 +1391,7 @@ type Scatter3dMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dMarkerColorbar @@ -1413,7 +1413,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1438,7 +1438,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1451,13 +1451,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1476,13 +1476,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1495,7 +1495,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1515,7 +1515,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1534,7 +1534,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1551,7 +1551,7 @@ type Scatter3dMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1576,13 +1576,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1595,7 +1595,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1608,7 +1608,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1622,7 +1622,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1636,13 +1636,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1653,7 +1653,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1666,7 +1666,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1679,7 +1679,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1692,7 +1692,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1709,31 +1709,31 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1745,7 +1745,7 @@ type Scatter3dMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1757,19 +1757,19 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarker @@ -1779,31 +1779,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1815,7 +1815,7 @@ type Scatter3dMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1832,7 +1832,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1843,31 +1843,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Sets the marker opacity. Note that the marker opacity for scatter3d traces must be a scalar value for performance reasons. To set a blending opacity value (i.e. which is not transparent), set *marker.color* to an rgba color and use its alpha channel. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1880,13 +1880,13 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1899,7 +1899,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // Scatter3dProjectionX @@ -1909,19 +1909,19 @@ type Scatter3dProjectionX struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the x axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionY @@ -1931,19 +1931,19 @@ type Scatter3dProjectionY struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the y axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionZ @@ -1953,19 +1953,19 @@ type Scatter3dProjectionZ struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the z axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjection @@ -1994,13 +1994,13 @@ type Scatter3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Scatter3dTextfont @@ -2016,25 +2016,25 @@ type Scatter3dTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Scatter3dTransform 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. diff --git a/generated/v2.29.1/graph_objects/scatter_gen.go b/generated/v2.29.1/graph_objects/scatter_gen.go index cb20719..47e9b01 100644 --- a/generated/v2.29.1/graph_objects/scatter_gen.go +++ b/generated/v2.29.1/graph_objects/scatter_gen.go @@ -32,19 +32,19 @@ type Scatter struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -58,19 +58,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -118,7 +118,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -136,25 +136,25 @@ type Scatter struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -168,19 +168,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -191,13 +191,13 @@ type Scatter struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -219,7 +219,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -232,19 +232,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -268,7 +268,7 @@ type Scatter struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stackgaps // arrayOK: false @@ -281,7 +281,7 @@ type Scatter struct { // arrayOK: false // type: string // Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `orientation` is *h*). If blank or omitted this trace will not be stacked. Stacking also turns `fill` on by default, using *tonexty* (*tonextx*) if `orientation` is *h* (*v*) and sets the default `mode` to *lines* irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. - Stackgroup types.String `json:"stackgroup,omitempty"` + Stackgroup types.StringType `json:"stackgroup,omitempty"` // Stream // arrayOK: false @@ -292,7 +292,7 @@ type Scatter struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -310,25 +310,25 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -339,7 +339,7 @@ type Scatter struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -377,7 +377,7 @@ type Scatter struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -390,7 +390,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -415,7 +415,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -435,7 +435,7 @@ type Scatter struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -448,7 +448,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -473,7 +473,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ScatterErrorX @@ -499,13 +499,13 @@ type ScatterErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -517,31 +517,31 @@ type ScatterErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -554,25 +554,25 @@ type ScatterErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterErrorY @@ -598,13 +598,13 @@ type ScatterErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -616,25 +616,25 @@ type ScatterErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -647,25 +647,25 @@ type ScatterErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterFillpattern Sets the pattern within the marker. @@ -681,7 +681,7 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -693,13 +693,13 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -719,31 +719,31 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // ScatterHoverlabelFont Sets the font used in hover labels. @@ -759,31 +759,31 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterHoverlabel @@ -800,7 +800,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -812,7 +812,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -824,7 +824,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -835,13 +835,13 @@ type ScatterHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterLegendgrouptitleFont Sets this legend group's title font. @@ -857,13 +857,13 @@ type ScatterLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterLegendgrouptitle @@ -878,7 +878,7 @@ type ScatterLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterLine @@ -888,13 +888,13 @@ type ScatterLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -906,7 +906,7 @@ type ScatterLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -919,19 +919,19 @@ type ScatterLine struct { // arrayOK: false // type: boolean // Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected. - Simplify types.Bool `json:"simplify,omitempty"` + Simplify types.BoolType `json:"simplify,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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterMarkerColorbarTickfont Sets the color bar's tick label font @@ -947,13 +947,13 @@ type ScatterMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterMarkerColorbarTickformatstop @@ -969,25 +969,25 @@ type ScatterMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1003,13 +1003,13 @@ type ScatterMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterMarkerColorbarTitle @@ -1031,7 +1031,7 @@ type ScatterMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterMarkerColorbar @@ -1053,7 +1053,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1078,7 +1078,7 @@ type ScatterMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1091,13 +1091,13 @@ type ScatterMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1116,13 +1116,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1135,7 +1135,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1155,7 +1155,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1174,7 +1174,7 @@ type ScatterMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1191,7 +1191,7 @@ type ScatterMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1216,13 +1216,13 @@ type ScatterMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1235,7 +1235,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1248,7 +1248,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1262,7 +1262,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1276,13 +1276,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1293,7 +1293,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1306,7 +1306,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1319,7 +1319,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1332,7 +1332,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1355,7 +1355,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1368,7 +1368,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterMarkerLine @@ -1378,31 +1378,31 @@ type ScatterMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1414,7 +1414,7 @@ type ScatterMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1426,25 +1426,25 @@ type ScatterMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterMarker @@ -1454,7 +1454,7 @@ type ScatterMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1467,37 +1467,37 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1509,7 +1509,7 @@ type ScatterMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1526,7 +1526,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1542,43 +1542,43 @@ type ScatterMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1591,25 +1591,25 @@ type ScatterMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1622,7 +1622,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterSelectedMarker @@ -1638,13 +1638,13 @@ type ScatterSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterSelectedTextfont @@ -1678,13 +1678,13 @@ type ScatterStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterTextfont Sets the text font. @@ -1700,31 +1700,31 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterTransform 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. @@ -1744,13 +1744,13 @@ type ScatterUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/scattercarpet_gen.go b/generated/v2.29.1/graph_objects/scattercarpet_gen.go index e7cece2..392c6e9 100644 --- a/generated/v2.29.1/graph_objects/scattercarpet_gen.go +++ b/generated/v2.29.1/graph_objects/scattercarpet_gen.go @@ -40,7 +40,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,19 +54,19 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + 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. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -80,7 +80,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -106,7 +106,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -124,25 +124,25 @@ type Scattercarpet struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + 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. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -156,19 +156,19 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -179,13 +179,13 @@ type Scattercarpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -207,7 +207,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -220,13 +220,13 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -243,7 +243,7 @@ type Scattercarpet struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -254,7 +254,7 @@ type Scattercarpet struct { // 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. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -272,25 +272,25 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `a`, `b` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -301,7 +301,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -325,13 +325,13 @@ type Scattercarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` } // ScattercarpetHoverlabelFont Sets the font used in hover labels. @@ -347,31 +347,31 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattercarpetHoverlabel @@ -388,7 +388,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -400,7 +400,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -412,7 +412,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -423,13 +423,13 @@ type ScattercarpetHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattercarpetLegendgrouptitleFont Sets this legend group's title font. @@ -445,13 +445,13 @@ type ScattercarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetLegendgrouptitle @@ -466,7 +466,7 @@ type ScattercarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetLine @@ -476,13 +476,13 @@ type ScattercarpetLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -494,7 +494,7 @@ type ScattercarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -507,13 +507,13 @@ type ScattercarpetLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattercarpetMarkerColorbarTickfont Sets the color bar's tick label font @@ -529,13 +529,13 @@ type ScattercarpetMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetMarkerColorbarTickformatstop @@ -551,25 +551,25 @@ type ScattercarpetMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -585,13 +585,13 @@ type ScattercarpetMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetMarkerColorbarTitle @@ -613,7 +613,7 @@ type ScattercarpetMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetMarkerColorbar @@ -635,7 +635,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -660,7 +660,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -673,13 +673,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -698,13 +698,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -717,7 +717,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -737,7 +737,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -756,7 +756,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -773,7 +773,7 @@ type ScattercarpetMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -798,13 +798,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -817,7 +817,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -830,7 +830,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -844,7 +844,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -858,13 +858,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -875,7 +875,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -888,7 +888,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -901,7 +901,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -914,7 +914,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -937,7 +937,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -950,7 +950,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattercarpetMarkerLine @@ -960,31 +960,31 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -996,7 +996,7 @@ type ScattercarpetMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1008,25 +1008,25 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattercarpetMarker @@ -1036,7 +1036,7 @@ type ScattercarpetMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1049,37 +1049,37 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1091,7 +1091,7 @@ type ScattercarpetMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1108,7 +1108,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1124,43 +1124,43 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1173,25 +1173,25 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1204,7 +1204,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattercarpetSelectedMarker @@ -1220,13 +1220,13 @@ type ScattercarpetSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetSelectedTextfont @@ -1260,13 +1260,13 @@ type ScattercarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattercarpetTextfont Sets the text font. @@ -1282,31 +1282,31 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattercarpetTransform 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. @@ -1326,13 +1326,13 @@ type ScattercarpetUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/scattergeo_gen.go b/generated/v2.29.1/graph_objects/scattergeo_gen.go index 8e4f95d..930cc11 100644 --- a/generated/v2.29.1/graph_objects/scattergeo_gen.go +++ b/generated/v2.29.1/graph_objects/scattergeo_gen.go @@ -32,7 +32,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,13 +46,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Fill // arrayOK: false @@ -71,7 +71,7 @@ type Scattergeo struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -90,7 +90,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -101,25 +101,25 @@ type Scattergeo struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -133,7 +133,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -147,19 +147,19 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -170,13 +170,13 @@ type Scattergeo struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -202,7 +202,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Lon // arrayOK: false @@ -216,7 +216,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -233,7 +233,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -246,13 +246,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -269,7 +269,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -280,7 +280,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -298,25 +298,25 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `lat`, `lon`, `location` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -327,7 +327,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -361,31 +361,31 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattergeoHoverlabel @@ -402,7 +402,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -414,7 +414,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -426,7 +426,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -437,13 +437,13 @@ type ScattergeoHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattergeoLegendgrouptitleFont Sets this legend group's title font. @@ -459,13 +459,13 @@ type ScattergeoLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoLegendgrouptitle @@ -480,7 +480,7 @@ type ScattergeoLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoLine @@ -496,13 +496,13 @@ type ScattergeoLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattergeoMarkerColorbarTickfont Sets the color bar's tick label font @@ -518,13 +518,13 @@ type ScattergeoMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoMarkerColorbarTickformatstop @@ -540,25 +540,25 @@ type ScattergeoMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattergeoMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -574,13 +574,13 @@ type ScattergeoMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoMarkerColorbarTitle @@ -602,7 +602,7 @@ type ScattergeoMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoMarkerColorbar @@ -624,7 +624,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -649,7 +649,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -662,13 +662,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -687,13 +687,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -706,7 +706,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -726,7 +726,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -745,7 +745,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -762,7 +762,7 @@ type ScattergeoMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -787,13 +787,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -806,7 +806,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -819,7 +819,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -833,7 +833,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -847,13 +847,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -864,7 +864,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -877,7 +877,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -890,7 +890,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -903,7 +903,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -926,7 +926,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -939,7 +939,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattergeoMarkerLine @@ -949,31 +949,31 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -985,7 +985,7 @@ type ScattergeoMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -997,25 +997,25 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattergeoMarker @@ -1025,7 +1025,7 @@ type ScattergeoMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1038,37 +1038,37 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1080,7 +1080,7 @@ type ScattergeoMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1097,7 +1097,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1113,37 +1113,37 @@ type ScattergeoMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1156,25 +1156,25 @@ type ScattergeoMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1187,7 +1187,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattergeoSelectedMarker @@ -1203,13 +1203,13 @@ type ScattergeoSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoSelectedTextfont @@ -1243,13 +1243,13 @@ type ScattergeoStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattergeoTextfont Sets the text font. @@ -1265,31 +1265,31 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattergeoTransform 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. @@ -1309,13 +1309,13 @@ type ScattergeoUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/scattergl_gen.go b/generated/v2.29.1/graph_objects/scattergl_gen.go index 5660d71..70dfc4d 100644 --- a/generated/v2.29.1/graph_objects/scattergl_gen.go +++ b/generated/v2.29.1/graph_objects/scattergl_gen.go @@ -32,7 +32,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -94,7 +94,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Scattergl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Scattergl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,7 +188,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -201,13 +201,13 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -224,7 +224,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -235,7 +235,7 @@ type Scattergl struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -253,25 +253,25 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -282,7 +282,7 @@ type Scattergl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -320,7 +320,7 @@ type Scattergl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -333,7 +333,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -358,7 +358,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -378,7 +378,7 @@ type Scattergl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -391,7 +391,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -416,7 +416,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ScatterglErrorX @@ -442,13 +442,13 @@ type ScatterglErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -460,31 +460,31 @@ type ScatterglErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -497,25 +497,25 @@ type ScatterglErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglErrorY @@ -541,13 +541,13 @@ type ScatterglErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -559,25 +559,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -590,25 +590,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglHoverlabelFont Sets the font used in hover labels. @@ -624,31 +624,31 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterglHoverlabel @@ -665,7 +665,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -677,7 +677,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -689,7 +689,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -700,13 +700,13 @@ type ScatterglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterglLegendgrouptitleFont Sets this legend group's title font. @@ -722,13 +722,13 @@ type ScatterglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglLegendgrouptitle @@ -743,7 +743,7 @@ type ScatterglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglLine @@ -773,7 +773,7 @@ type ScatterglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglMarkerColorbarTickfont Sets the color bar's tick label font @@ -789,13 +789,13 @@ type ScatterglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglMarkerColorbarTickformatstop @@ -811,25 +811,25 @@ type ScatterglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -845,13 +845,13 @@ type ScatterglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglMarkerColorbarTitle @@ -873,7 +873,7 @@ type ScatterglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglMarkerColorbar @@ -895,7 +895,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -920,7 +920,7 @@ type ScatterglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -933,13 +933,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -958,13 +958,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -977,7 +977,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -997,7 +997,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1016,7 +1016,7 @@ type ScatterglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1033,7 +1033,7 @@ type ScatterglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1058,13 +1058,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1077,7 +1077,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1090,7 +1090,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1104,7 +1104,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1118,13 +1118,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1135,7 +1135,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1148,7 +1148,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1161,7 +1161,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1174,7 +1174,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1191,31 +1191,31 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1227,7 +1227,7 @@ type ScatterglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1239,25 +1239,25 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterglMarker @@ -1267,43 +1267,43 @@ type ScatterglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1315,7 +1315,7 @@ type ScatterglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1332,7 +1332,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1343,37 +1343,37 @@ type ScatterglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1386,13 +1386,13 @@ type ScatterglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1405,7 +1405,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterglSelectedMarker @@ -1421,13 +1421,13 @@ type ScatterglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglSelectedTextfont @@ -1461,13 +1461,13 @@ type ScatterglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterglTextfont Sets the text font. @@ -1483,31 +1483,31 @@ type ScatterglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterglTransform 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. @@ -1527,13 +1527,13 @@ type ScatterglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/scattermapbox_gen.go b/generated/v2.29.1/graph_objects/scattermapbox_gen.go index 6a74d7e..3db67d5 100644 --- a/generated/v2.29.1/graph_objects/scattermapbox_gen.go +++ b/generated/v2.29.1/graph_objects/scattermapbox_gen.go @@ -32,7 +32,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Determines if this scattermapbox trace's layers are to be inserted before the layer with the specified ID. By default, scattermapbox layers are inserted above all the base layers. To place the scattermapbox layers above every other layer, set `below` to *''*. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Cluster // arrayOK: false @@ -43,7 +43,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -57,7 +57,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -83,7 +83,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Scattermapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -140,19 +140,19 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Scattermapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,7 +188,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -205,7 +205,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -218,13 +218,13 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -241,7 +241,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -252,13 +252,13 @@ type Scattermapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -276,19 +276,19 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `lat`, `lon` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -299,7 +299,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -333,55 +333,55 @@ type ScattermapboxCluster struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether clustering is enabled or disabled. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` // Maxzoom // arrayOK: false // type: number // Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size for each cluster step. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Step // arrayOK: true // type: number // Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value. - Step *types.ArrayOK[*float64] `json:"step,omitempty"` + Step *types.ArrayOK[*types.NumberType] `json:"step,omitempty"` // Stepsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `step`. - Stepsrc types.String `json:"stepsrc,omitempty"` + Stepsrc types.StringType `json:"stepsrc,omitempty"` } // ScattermapboxHoverlabelFont Sets the font used in hover labels. @@ -397,31 +397,31 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattermapboxHoverlabel @@ -438,7 +438,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -450,7 +450,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -462,7 +462,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -473,13 +473,13 @@ type ScattermapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattermapboxLegendgrouptitleFont Sets this legend group's title font. @@ -495,13 +495,13 @@ type ScattermapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxLegendgrouptitle @@ -516,7 +516,7 @@ type ScattermapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxLine @@ -532,7 +532,7 @@ type ScattermapboxLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattermapboxMarkerColorbarTickfont Sets the color bar's tick label font @@ -548,13 +548,13 @@ type ScattermapboxMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxMarkerColorbarTickformatstop @@ -570,25 +570,25 @@ type ScattermapboxMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattermapboxMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -604,13 +604,13 @@ type ScattermapboxMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxMarkerColorbarTitle @@ -632,7 +632,7 @@ type ScattermapboxMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxMarkerColorbar @@ -654,7 +654,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -679,7 +679,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -692,13 +692,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -717,13 +717,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -736,7 +736,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -756,7 +756,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -775,7 +775,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -792,7 +792,7 @@ type ScattermapboxMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -817,13 +817,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -836,7 +836,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -849,7 +849,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -863,7 +863,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -877,13 +877,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -894,7 +894,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -907,7 +907,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -920,7 +920,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -933,7 +933,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -950,49 +950,49 @@ type ScattermapboxMarker struct { // arrayOK: false // type: boolean // Flag to draw all symbols, even if they overlap. - Allowoverlap types.Bool `json:"allowoverlap,omitempty"` + Allowoverlap types.BoolType `json:"allowoverlap,omitempty"` // Angle // arrayOK: true // type: number // Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1004,7 +1004,7 @@ type ScattermapboxMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1021,43 +1021,43 @@ type ScattermapboxMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1070,25 +1070,25 @@ type ScattermapboxMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true // type: string // Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols. - Symbol *types.ArrayOK[*types.String] `json:"symbol,omitempty"` + Symbol *types.ArrayOK[*types.StringType] `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattermapboxSelectedMarker @@ -1104,13 +1104,13 @@ type ScattermapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxSelected @@ -1129,13 +1129,13 @@ type ScattermapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattermapboxTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -1151,13 +1151,13 @@ type ScattermapboxTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxTransform 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. @@ -1177,13 +1177,13 @@ type ScattermapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxUnselected diff --git a/generated/v2.29.1/graph_objects/scatterpolar_gen.go b/generated/v2.29.1/graph_objects/scatterpolar_gen.go index 76c0e6b..a7e6b71 100644 --- a/generated/v2.29.1/graph_objects/scatterpolar_gen.go +++ b/generated/v2.29.1/graph_objects/scatterpolar_gen.go @@ -32,13 +32,13 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -90,7 +90,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -108,25 +108,25 @@ type Scatterpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -140,19 +140,19 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Scatterpolar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -191,7 +191,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -204,13 +204,13 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -230,7 +230,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -247,7 +247,7 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -258,13 +258,13 @@ type Scatterpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -282,25 +282,25 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -320,7 +320,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -338,7 +338,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -372,31 +372,31 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarHoverlabel @@ -413,7 +413,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -425,7 +425,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -437,7 +437,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -448,13 +448,13 @@ type ScatterpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarLegendgrouptitleFont Sets this legend group's title font. @@ -470,13 +470,13 @@ type ScatterpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarLegendgrouptitle @@ -491,7 +491,7 @@ type ScatterpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarLine @@ -501,13 +501,13 @@ type ScatterpolarLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -519,7 +519,7 @@ type ScatterpolarLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -532,13 +532,13 @@ type ScatterpolarLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -554,13 +554,13 @@ type ScatterpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarMarkerColorbarTickformatstop @@ -576,25 +576,25 @@ type ScatterpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -610,13 +610,13 @@ type ScatterpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarMarkerColorbarTitle @@ -638,7 +638,7 @@ type ScatterpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarMarkerColorbar @@ -660,7 +660,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -685,7 +685,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -698,13 +698,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -723,13 +723,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -742,7 +742,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -762,7 +762,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -781,7 +781,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -798,7 +798,7 @@ type ScatterpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -823,13 +823,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -842,7 +842,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -855,7 +855,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -869,7 +869,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -883,13 +883,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -900,7 +900,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -913,7 +913,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -926,7 +926,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -939,7 +939,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -962,7 +962,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -975,7 +975,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterpolarMarkerLine @@ -985,31 +985,31 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1021,7 +1021,7 @@ type ScatterpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1033,25 +1033,25 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarMarker @@ -1061,7 +1061,7 @@ type ScatterpolarMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1074,37 +1074,37 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1116,7 +1116,7 @@ type ScatterpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1133,7 +1133,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1149,43 +1149,43 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1198,25 +1198,25 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1229,7 +1229,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarSelectedMarker @@ -1245,13 +1245,13 @@ type ScatterpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarSelectedTextfont @@ -1285,13 +1285,13 @@ type ScatterpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarTextfont Sets the text font. @@ -1307,31 +1307,31 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarTransform 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. @@ -1351,13 +1351,13 @@ type ScatterpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/scatterpolargl_gen.go b/generated/v2.29.1/graph_objects/scatterpolargl_gen.go index 0e046ab..1b10736 100644 --- a/generated/v2.29.1/graph_objects/scatterpolargl_gen.go +++ b/generated/v2.29.1/graph_objects/scatterpolargl_gen.go @@ -32,7 +32,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -84,7 +84,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -95,25 +95,25 @@ type Scatterpolargl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -127,19 +127,19 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -150,13 +150,13 @@ type Scatterpolargl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -178,7 +178,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -191,13 +191,13 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -217,7 +217,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -234,7 +234,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -245,13 +245,13 @@ type Scatterpolargl struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -269,25 +269,25 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -307,7 +307,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -325,7 +325,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -359,31 +359,31 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarglHoverlabel @@ -400,7 +400,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -412,7 +412,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -424,7 +424,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -435,13 +435,13 @@ type ScatterpolarglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarglLegendgrouptitleFont Sets this legend group's title font. @@ -457,13 +457,13 @@ type ScatterpolarglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglLegendgrouptitle @@ -478,7 +478,7 @@ type ScatterpolarglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglLine @@ -501,7 +501,7 @@ type ScatterpolarglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarglMarkerColorbarTickfont Sets the color bar's tick label font @@ -517,13 +517,13 @@ type ScatterpolarglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglMarkerColorbarTickformatstop @@ -539,25 +539,25 @@ type ScatterpolarglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -573,13 +573,13 @@ type ScatterpolarglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglMarkerColorbarTitle @@ -601,7 +601,7 @@ type ScatterpolarglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglMarkerColorbar @@ -623,7 +623,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -648,7 +648,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -661,13 +661,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -686,13 +686,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -705,7 +705,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -725,7 +725,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -744,7 +744,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -761,7 +761,7 @@ type ScatterpolarglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -786,13 +786,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -805,7 +805,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -818,7 +818,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -832,7 +832,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -846,13 +846,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -863,7 +863,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -876,7 +876,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -889,7 +889,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -902,7 +902,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -919,31 +919,31 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -955,7 +955,7 @@ type ScatterpolarglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -967,25 +967,25 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarglMarker @@ -995,43 +995,43 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1043,7 +1043,7 @@ type ScatterpolarglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1060,7 +1060,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1071,37 +1071,37 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1114,13 +1114,13 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1133,7 +1133,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarglSelectedMarker @@ -1149,13 +1149,13 @@ type ScatterpolarglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglSelectedTextfont @@ -1189,13 +1189,13 @@ type ScatterpolarglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarglTextfont Sets the text font. @@ -1211,31 +1211,31 @@ type ScatterpolarglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarglTransform 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. @@ -1255,13 +1255,13 @@ type ScatterpolarglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/scattersmith_gen.go b/generated/v2.29.1/graph_objects/scattersmith_gen.go index ae359fd..78b31f4 100644 --- a/generated/v2.29.1/graph_objects/scattersmith_gen.go +++ b/generated/v2.29.1/graph_objects/scattersmith_gen.go @@ -32,13 +32,13 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,7 +52,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -78,7 +78,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -96,25 +96,25 @@ type Scattersmith struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -128,7 +128,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Imag // arrayOK: false @@ -142,19 +142,19 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `imag`. - Imagsrc types.String `json:"imagsrc,omitempty"` + Imagsrc types.StringType `json:"imagsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -165,13 +165,13 @@ type Scattersmith struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -193,7 +193,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -206,13 +206,13 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Real // arrayOK: false @@ -226,7 +226,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `real`. - Realsrc types.String `json:"realsrc,omitempty"` + Realsrc types.StringType `json:"realsrc,omitempty"` // Selected // arrayOK: false @@ -243,7 +243,7 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -254,13 +254,13 @@ type Scattersmith struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a smith subplot. If *smith* (the default value), the data refer to `layout.smith`. If *smith2*, the data refer to `layout.smith2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -278,25 +278,25 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `real`, `imag` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -307,7 +307,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -341,31 +341,31 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattersmithHoverlabel @@ -382,7 +382,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -394,7 +394,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -406,7 +406,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -417,13 +417,13 @@ type ScattersmithHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattersmithLegendgrouptitleFont Sets this legend group's title font. @@ -439,13 +439,13 @@ type ScattersmithLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithLegendgrouptitle @@ -460,7 +460,7 @@ type ScattersmithLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithLine @@ -470,13 +470,13 @@ type ScattersmithLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -488,7 +488,7 @@ type ScattersmithLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -501,13 +501,13 @@ type ScattersmithLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattersmithMarkerColorbarTickfont Sets the color bar's tick label font @@ -523,13 +523,13 @@ type ScattersmithMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithMarkerColorbarTickformatstop @@ -545,25 +545,25 @@ type ScattersmithMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattersmithMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -579,13 +579,13 @@ type ScattersmithMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithMarkerColorbarTitle @@ -607,7 +607,7 @@ type ScattersmithMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithMarkerColorbar @@ -629,7 +629,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -654,7 +654,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -667,13 +667,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -692,13 +692,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -711,7 +711,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -731,7 +731,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -750,7 +750,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -767,7 +767,7 @@ type ScattersmithMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -792,13 +792,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -811,7 +811,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -824,7 +824,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -838,7 +838,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -852,13 +852,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -869,7 +869,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -882,7 +882,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -895,7 +895,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -908,7 +908,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -931,7 +931,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -944,7 +944,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattersmithMarkerLine @@ -954,31 +954,31 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -990,7 +990,7 @@ type ScattersmithMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1002,25 +1002,25 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattersmithMarker @@ -1030,7 +1030,7 @@ type ScattersmithMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1043,37 +1043,37 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1085,7 +1085,7 @@ type ScattersmithMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1102,7 +1102,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1118,43 +1118,43 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1167,25 +1167,25 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1198,7 +1198,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattersmithSelectedMarker @@ -1214,13 +1214,13 @@ type ScattersmithSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithSelectedTextfont @@ -1254,13 +1254,13 @@ type ScattersmithStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattersmithTextfont Sets the text font. @@ -1276,31 +1276,31 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattersmithTransform 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. @@ -1320,13 +1320,13 @@ type ScattersmithUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/scatterternary_gen.go b/generated/v2.29.1/graph_objects/scatterternary_gen.go index 23ceca3..01fec5f 100644 --- a/generated/v2.29.1/graph_objects/scatterternary_gen.go +++ b/generated/v2.29.1/graph_objects/scatterternary_gen.go @@ -40,7 +40,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,7 +54,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // C // arrayOK: false @@ -68,19 +68,19 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Csrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `c`. - Csrc types.String `json:"csrc,omitempty"` + Csrc types.StringType `json:"csrc,omitempty"` // Customdata // arrayOK: false @@ -94,7 +94,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -120,7 +120,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -138,25 +138,25 @@ type Scatterternary struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (a,b,c) 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,c). To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -170,19 +170,19 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -193,13 +193,13 @@ type Scatterternary struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -221,7 +221,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -234,13 +234,13 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -257,7 +257,7 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -268,19 +268,19 @@ type Scatterternary struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a ternary subplot. If *ternary* (the default value), the data refer to `layout.ternary`. If *ternary2*, the data refer to `layout.ternary2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Sum // arrayOK: false // type: number // The number each triplet should sum to, if only two of `a`, `b`, and `c` are provided. This overrides `ternary.sum` to normalize this specific trace, but does not affect the values displayed on the axes. 0 (or missing) means to use ternary.sum - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (a,b,c) 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,c). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -298,25 +298,25 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `a`, `b`, `c` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -327,7 +327,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -361,31 +361,31 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterternaryHoverlabel @@ -402,7 +402,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -414,7 +414,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -426,7 +426,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -437,13 +437,13 @@ type ScatterternaryHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterternaryLegendgrouptitleFont Sets this legend group's title font. @@ -459,13 +459,13 @@ type ScatterternaryLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryLegendgrouptitle @@ -480,7 +480,7 @@ type ScatterternaryLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryLine @@ -490,13 +490,13 @@ type ScatterternaryLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -508,7 +508,7 @@ type ScatterternaryLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -521,13 +521,13 @@ type ScatterternaryLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterternaryMarkerColorbarTickfont Sets the color bar's tick label font @@ -543,13 +543,13 @@ type ScatterternaryMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryMarkerColorbarTickformatstop @@ -565,25 +565,25 @@ type ScatterternaryMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterternaryMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -599,13 +599,13 @@ type ScatterternaryMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryMarkerColorbarTitle @@ -627,7 +627,7 @@ type ScatterternaryMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryMarkerColorbar @@ -649,7 +649,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -674,7 +674,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -687,13 +687,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -712,13 +712,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -731,7 +731,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -751,7 +751,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -770,7 +770,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -787,7 +787,7 @@ type ScatterternaryMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -812,13 +812,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -831,7 +831,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -844,7 +844,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -858,7 +858,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -872,13 +872,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -889,7 +889,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -902,7 +902,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -915,7 +915,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -928,7 +928,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -951,7 +951,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -964,7 +964,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterternaryMarkerLine @@ -974,31 +974,31 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1010,7 +1010,7 @@ type ScatterternaryMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1022,25 +1022,25 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterternaryMarker @@ -1050,7 +1050,7 @@ type ScatterternaryMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1063,37 +1063,37 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1105,7 +1105,7 @@ type ScatterternaryMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1122,7 +1122,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1138,43 +1138,43 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1187,25 +1187,25 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1218,7 +1218,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterternarySelectedMarker @@ -1234,13 +1234,13 @@ type ScatterternarySelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternarySelectedTextfont @@ -1274,13 +1274,13 @@ type ScatterternaryStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterternaryTextfont Sets the text font. @@ -1296,31 +1296,31 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterternaryTransform 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. @@ -1340,13 +1340,13 @@ type ScatterternaryUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryUnselectedTextfont diff --git a/generated/v2.29.1/graph_objects/splom_gen.go b/generated/v2.29.1/graph_objects/splom_gen.go index fea99ee..263c6a3 100644 --- a/generated/v2.29.1/graph_objects/splom_gen.go +++ b/generated/v2.29.1/graph_objects/splom_gen.go @@ -40,7 +40,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Diagonal // arrayOK: false @@ -63,7 +63,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -74,25 +74,25 @@ type Splom struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -106,19 +106,19 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -129,13 +129,13 @@ type Splom struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -152,19 +152,19 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -181,19 +181,19 @@ type Splom struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showlowerhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the lower half from the diagonal are displayed. - Showlowerhalf types.Bool `json:"showlowerhalf,omitempty"` + Showlowerhalf types.BoolType `json:"showlowerhalf,omitempty"` // Showupperhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the upper half from the diagonal are displayed. - Showupperhalf types.Bool `json:"showupperhalf,omitempty"` + Showupperhalf types.BoolType `json:"showupperhalf,omitempty"` // Stream // arrayOK: false @@ -204,13 +204,13 @@ type Splom struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair to appear on hover. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -221,7 +221,7 @@ type Splom struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -251,7 +251,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Yaxes // arrayOK: false @@ -263,7 +263,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // SplomDiagonal @@ -273,7 +273,7 @@ type SplomDiagonal struct { // arrayOK: false // type: boolean // Determines whether or not subplots on the diagonal are displayed. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // DimensionAxis @@ -283,7 +283,7 @@ type DimensionAxis struct { // arrayOK: false // type: boolean // Determines whether or not the x & y axes generated by this dimension match. Equivalent to setting the `matches` axis attribute in the layout with the correct axis id. - Matches types.Bool `json:"matches,omitempty"` + Matches types.BoolType `json:"matches,omitempty"` // Type // arrayOK: false @@ -305,19 +305,19 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the label corresponding to this splom dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -331,13 +331,13 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this dimension is shown on the graph. Note that even visible false dimension contribute to the default grid generate by this splom trace. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SplomHoverlabelFont Sets the font used in hover labels. @@ -353,31 +353,31 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SplomHoverlabel @@ -394,7 +394,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -406,7 +406,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -418,7 +418,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -429,13 +429,13 @@ type SplomHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SplomLegendgrouptitleFont Sets this legend group's title font. @@ -451,13 +451,13 @@ type SplomLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomLegendgrouptitle @@ -472,7 +472,7 @@ type SplomLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbarTickfont Sets the color bar's tick label font @@ -488,13 +488,13 @@ type SplomMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomMarkerColorbarTickformatstop @@ -510,25 +510,25 @@ type SplomMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SplomMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -544,13 +544,13 @@ type SplomMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomMarkerColorbarTitle @@ -572,7 +572,7 @@ type SplomMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbar @@ -594,7 +594,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -619,7 +619,7 @@ type SplomMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -632,13 +632,13 @@ type SplomMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -657,13 +657,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -676,7 +676,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -696,7 +696,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -715,7 +715,7 @@ type SplomMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -732,7 +732,7 @@ type SplomMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -757,13 +757,13 @@ type SplomMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -776,7 +776,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -789,7 +789,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -803,7 +803,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -817,13 +817,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -834,7 +834,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -847,7 +847,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -860,7 +860,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -873,7 +873,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -890,31 +890,31 @@ type SplomMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -926,7 +926,7 @@ type SplomMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -938,25 +938,25 @@ type SplomMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SplomMarker @@ -966,43 +966,43 @@ type SplomMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1014,7 +1014,7 @@ type SplomMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1031,7 +1031,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1042,37 +1042,37 @@ type SplomMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1085,13 +1085,13 @@ type SplomMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1104,7 +1104,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // SplomSelectedMarker @@ -1120,13 +1120,13 @@ type SplomSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomSelected @@ -1145,13 +1145,13 @@ type SplomStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SplomTransform 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. @@ -1171,13 +1171,13 @@ type SplomUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomUnselected diff --git a/generated/v2.29.1/graph_objects/streamtube_gen.go b/generated/v2.29.1/graph_objects/streamtube_gen.go index 1b300b4..d0d1949 100644 --- a/generated/v2.29.1/graph_objects/streamtube_gen.go +++ b/generated/v2.29.1/graph_objects/streamtube_gen.go @@ -32,37 +32,37 @@ type Streamtube struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -87,7 +87,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,19 +111,19 @@ type Streamtube struct { // 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. Finally, the template string has access to variables `tubex`, `tubey`, `tubez`, `tubeu`, `tubev`, `tubew`, `norm` and `divergence`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false // type: string // Same as `text`. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Streamtube struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -182,7 +182,7 @@ type Streamtube struct { // arrayOK: false // type: integer // The maximum number of displayed segments in a streamtube. - Maxdisplayed int64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.IntegerType `json:"maxdisplayed,omitempty"` // Meta // arrayOK: true @@ -194,49 +194,49 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizeref // arrayOK: false // type: number // The scaling factor for the streamtubes. The default is 1, which avoids two max divergence tubes from touching at adjacent starting positions. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Starts // arrayOK: false @@ -252,7 +252,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets a text element associated with this trace. If trace `hoverinfo` contains a *text* flag, this text element will be seen in all hover labels. Note that streamtube traces do not support array `text` values. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // U // arrayOK: false @@ -266,13 +266,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -284,7 +284,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -298,7 +298,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -311,7 +311,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -325,13 +325,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -345,13 +345,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -365,13 +365,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -385,13 +385,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeColorbarTickfont Sets the color bar's tick label font @@ -407,13 +407,13 @@ type StreamtubeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeColorbarTickformatstop @@ -429,25 +429,25 @@ type StreamtubeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // StreamtubeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -463,13 +463,13 @@ type StreamtubeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeColorbarTitle @@ -491,7 +491,7 @@ type StreamtubeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeColorbar @@ -513,7 +513,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -538,7 +538,7 @@ type StreamtubeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -551,13 +551,13 @@ type StreamtubeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -576,13 +576,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -595,7 +595,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -615,7 +615,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -634,7 +634,7 @@ type StreamtubeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -651,7 +651,7 @@ type StreamtubeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -676,13 +676,13 @@ type StreamtubeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -695,7 +695,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -708,7 +708,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -722,7 +722,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -736,13 +736,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -753,7 +753,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -766,7 +766,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -779,7 +779,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -792,7 +792,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -815,31 +815,31 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // StreamtubeHoverlabel @@ -856,7 +856,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -868,7 +868,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -880,7 +880,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -891,13 +891,13 @@ type StreamtubeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // StreamtubeLegendgrouptitleFont Sets this legend group's title font. @@ -913,13 +913,13 @@ type StreamtubeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeLegendgrouptitle @@ -934,7 +934,7 @@ type StreamtubeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeLighting @@ -944,43 +944,43 @@ type StreamtubeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // StreamtubeLightposition @@ -990,19 +990,19 @@ type StreamtubeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // StreamtubeStarts @@ -1020,7 +1020,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -1034,7 +1034,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -1048,7 +1048,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeStream @@ -1058,13 +1058,13 @@ type StreamtubeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // StreamtubeColorbarExponentformat 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. diff --git a/generated/v2.29.1/graph_objects/sunburst_gen.go b/generated/v2.29.1/graph_objects/sunburst_gen.go index 2e5b0d3..ab5ceb1 100644 --- a/generated/v2.29.1/graph_objects/sunburst_gen.go +++ b/generated/v2.29.1/graph_objects/sunburst_gen.go @@ -54,7 +54,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Sunburst struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -141,7 +141,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -152,7 +152,7 @@ type Sunburst struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Sunburst struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -186,7 +186,7 @@ type Sunburst struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -198,19 +198,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -229,7 +229,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Root // arrayOK: false @@ -240,13 +240,13 @@ type Sunburst struct { // arrayOK: false // type: angle // Rotates the whole diagram counterclockwise by some angle. By default the first slice starts at 3 o'clock. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -277,19 +277,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -300,7 +300,7 @@ type Sunburst struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -320,7 +320,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -337,13 +337,13 @@ type SunburstDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sunburst trace . - Column int64 `json:"column,omitempty"` + 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 sunburst trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -371,31 +371,31 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstHoverlabel @@ -412,7 +412,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -424,7 +424,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -436,7 +436,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -447,13 +447,13 @@ type SunburstHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SunburstInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -469,31 +469,31 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstLeaf @@ -503,7 +503,7 @@ type SunburstLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // SunburstLegendgrouptitleFont Sets this legend group's title font. @@ -519,13 +519,13 @@ type SunburstLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstLegendgrouptitle @@ -540,7 +540,7 @@ type SunburstLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbarTickfont Sets the color bar's tick label font @@ -556,13 +556,13 @@ type SunburstMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstMarkerColorbarTickformatstop @@ -578,25 +578,25 @@ type SunburstMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SunburstMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -612,13 +612,13 @@ type SunburstMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstMarkerColorbarTitle @@ -640,7 +640,7 @@ type SunburstMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbar @@ -662,7 +662,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -687,7 +687,7 @@ type SunburstMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -700,13 +700,13 @@ type SunburstMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -725,13 +725,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -744,7 +744,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -764,7 +764,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -783,7 +783,7 @@ type SunburstMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -800,7 +800,7 @@ type SunburstMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -825,13 +825,13 @@ type SunburstMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -844,7 +844,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -857,7 +857,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -871,7 +871,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -885,13 +885,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -902,7 +902,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -915,7 +915,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -928,7 +928,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -941,7 +941,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -964,19 +964,19 @@ type SunburstMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SunburstMarkerPattern Sets the pattern within the marker. @@ -992,7 +992,7 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1004,13 +1004,13 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1030,31 +1030,31 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // SunburstMarker @@ -1064,37 +1064,37 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1119,7 +1119,7 @@ type SunburstMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1135,13 +1135,13 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // SunburstOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented at the center of a sunburst graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1157,31 +1157,31 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstRoot @@ -1201,13 +1201,13 @@ type SunburstStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SunburstTextfont Sets the font used for `textinfo`. @@ -1223,31 +1223,31 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstTransform 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. diff --git a/generated/v2.29.1/graph_objects/surface_gen.go b/generated/v2.29.1/graph_objects/surface_gen.go index 4617964..ddae10a 100644 --- a/generated/v2.29.1/graph_objects/surface_gen.go +++ b/generated/v2.29.1/graph_objects/surface_gen.go @@ -32,37 +32,37 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 z or surfacecolor) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as z or surfacecolor. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -79,7 +79,7 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -98,13 +98,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hidesurface // arrayOK: false // type: boolean // Determines whether or not a surface is drawn. For example, set `hidesurface` to *false* `contours.x.show` to *true* and `contours.y.show` to *true* to draw a wire frame plot. - Hidesurface types.Bool `json:"hidesurface,omitempty"` + Hidesurface types.BoolType `json:"hidesurface,omitempty"` // Hoverinfo // arrayOK: true @@ -117,7 +117,7 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -128,25 +128,25 @@ type Surface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -160,19 +160,19 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -183,13 +183,13 @@ type Surface struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -211,19 +211,19 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -235,25 +235,25 @@ type Surface struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -272,25 +272,25 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `surfacecolor`. - Surfacecolorsrc types.String `json:"surfacecolorsrc,omitempty"` + Surfacecolorsrc types.StringType `json:"surfacecolorsrc,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each z value. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,13 +324,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -351,13 +351,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -378,13 +378,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // SurfaceColorbarTickfont Sets the color bar's tick label font @@ -400,13 +400,13 @@ type SurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceColorbarTickformatstop @@ -422,25 +422,25 @@ type SurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -456,13 +456,13 @@ type SurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceColorbarTitle @@ -484,7 +484,7 @@ type SurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceColorbar @@ -506,7 +506,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -531,7 +531,7 @@ type SurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -544,13 +544,13 @@ type SurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -569,13 +569,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -588,7 +588,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -608,7 +608,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -627,7 +627,7 @@ type SurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -644,7 +644,7 @@ type SurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -669,13 +669,13 @@ type SurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -688,7 +688,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -701,7 +701,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -715,7 +715,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -729,13 +729,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -746,7 +746,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -759,7 +759,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -772,7 +772,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -785,7 +785,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -802,19 +802,19 @@ type SurfaceContoursXProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursX @@ -830,13 +830,13 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -848,7 +848,7 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -859,31 +859,31 @@ type SurfaceContoursX struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursYProject @@ -893,19 +893,19 @@ type SurfaceContoursYProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursY @@ -921,13 +921,13 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -939,7 +939,7 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -950,31 +950,31 @@ type SurfaceContoursY struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursZProject @@ -984,19 +984,19 @@ type SurfaceContoursZProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursZ @@ -1012,13 +1012,13 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -1030,7 +1030,7 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -1041,31 +1041,31 @@ type SurfaceContoursZ struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContours @@ -1100,31 +1100,31 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SurfaceHoverlabel @@ -1141,7 +1141,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1153,7 +1153,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1165,7 +1165,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1176,13 +1176,13 @@ type SurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -1198,13 +1198,13 @@ type SurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceLegendgrouptitle @@ -1219,7 +1219,7 @@ type SurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceLighting @@ -1229,31 +1229,31 @@ type SurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` } // SurfaceLightposition @@ -1263,19 +1263,19 @@ type SurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // SurfaceStream @@ -1285,13 +1285,13 @@ type SurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SurfaceColorbarExponentformat 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. diff --git a/generated/v2.29.1/graph_objects/table_gen.go b/generated/v2.29.1/graph_objects/table_gen.go index a675b8c..b70b645 100644 --- a/generated/v2.29.1/graph_objects/table_gen.go +++ b/generated/v2.29.1/graph_objects/table_gen.go @@ -45,19 +45,19 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnorder`. - Columnordersrc types.String `json:"columnordersrc,omitempty"` + Columnordersrc types.StringType `json:"columnordersrc,omitempty"` // Columnwidth // arrayOK: true // type: number // The width of columns expressed as a ratio. Columns fill the available width in proportion of their specified column widths. - Columnwidth *types.ArrayOK[*float64] `json:"columnwidth,omitempty"` + Columnwidth *types.ArrayOK[*types.NumberType] `json:"columnwidth,omitempty"` // Columnwidthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnwidth`. - Columnwidthsrc types.String `json:"columnwidthsrc,omitempty"` + Columnwidthsrc types.StringType `json:"columnwidthsrc,omitempty"` // Customdata // arrayOK: false @@ -71,7 +71,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -94,7 +94,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -113,13 +113,13 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -130,13 +130,13 @@ type Table struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -148,13 +148,13 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Stream // arrayOK: false @@ -165,7 +165,7 @@ type Table struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -194,7 +194,7 @@ type TableCellsFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableCellsFont @@ -210,31 +210,31 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableCellsLine @@ -250,19 +250,19 @@ type TableCellsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableCells @@ -279,7 +279,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -303,13 +303,13 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -320,25 +320,25 @@ type TableCells struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -352,7 +352,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableDomain @@ -362,13 +362,13 @@ type TableDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this table trace . - Column int64 `json:"column,omitempty"` + 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 table trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -396,7 +396,7 @@ type TableHeaderFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableHeaderFont @@ -412,31 +412,31 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableHeaderLine @@ -452,19 +452,19 @@ type TableHeaderLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableHeader @@ -481,7 +481,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -505,13 +505,13 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -522,25 +522,25 @@ type TableHeader struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -554,7 +554,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableHoverlabelFont Sets the font used in hover labels. @@ -570,31 +570,31 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableHoverlabel @@ -611,7 +611,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -623,7 +623,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -635,7 +635,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -646,13 +646,13 @@ type TableHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TableLegendgrouptitleFont Sets this legend group's title font. @@ -668,13 +668,13 @@ type TableLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TableLegendgrouptitle @@ -689,7 +689,7 @@ type TableLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TableStream @@ -699,13 +699,13 @@ type TableStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TableCellsAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.29.1/graph_objects/treemap_gen.go b/generated/v2.29.1/graph_objects/treemap_gen.go index 410a53d..d886712 100644 --- a/generated/v2.29.1/graph_objects/treemap_gen.go +++ b/generated/v2.29.1/graph_objects/treemap_gen.go @@ -54,7 +54,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Treemap struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,13 +134,13 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -151,13 +151,13 @@ type Treemap struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -174,7 +174,7 @@ type Treemap struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -186,19 +186,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -217,7 +217,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -233,7 +233,7 @@ type Treemap struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -271,19 +271,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -299,7 +299,7 @@ type Treemap struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -319,7 +319,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -336,13 +336,13 @@ type TreemapDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this treemap trace . - Column int64 `json:"column,omitempty"` + 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 treemap trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -370,31 +370,31 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapHoverlabel @@ -411,7 +411,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -423,7 +423,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -435,7 +435,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -446,13 +446,13 @@ type TreemapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TreemapInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -468,31 +468,31 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapLegendgrouptitleFont Sets this legend group's title font. @@ -508,13 +508,13 @@ type TreemapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapLegendgrouptitle @@ -529,7 +529,7 @@ type TreemapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbarTickfont Sets the color bar's tick label font @@ -545,13 +545,13 @@ type TreemapMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapMarkerColorbarTickformatstop @@ -567,25 +567,25 @@ type TreemapMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // TreemapMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -601,13 +601,13 @@ type TreemapMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapMarkerColorbarTitle @@ -629,7 +629,7 @@ type TreemapMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbar @@ -651,7 +651,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -676,7 +676,7 @@ type TreemapMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -689,13 +689,13 @@ type TreemapMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -714,13 +714,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -733,7 +733,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -753,7 +753,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -772,7 +772,7 @@ type TreemapMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -789,7 +789,7 @@ type TreemapMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -814,13 +814,13 @@ type TreemapMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -833,7 +833,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -846,7 +846,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -860,7 +860,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -874,13 +874,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -891,7 +891,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -904,7 +904,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -917,7 +917,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -930,7 +930,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -953,19 +953,19 @@ type TreemapMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TreemapMarkerPad @@ -975,25 +975,25 @@ type TreemapMarkerPad struct { // arrayOK: false // type: number // Sets the padding form the bottom (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the padding form the left (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // Sets the padding form the right (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the padding form the top (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // TreemapMarkerPattern Sets the pattern within the marker. @@ -1009,7 +1009,7 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1021,13 +1021,13 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1047,31 +1047,31 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // TreemapMarker @@ -1081,37 +1081,37 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1136,13 +1136,13 @@ type TreemapMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Cornerradius // arrayOK: false // type: number // Sets the maximum rounding of corners (in px). - Cornerradius float64 `json:"cornerradius,omitempty"` + Cornerradius types.NumberType `json:"cornerradius,omitempty"` // Depthfade // arrayOK: false @@ -1170,13 +1170,13 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // TreemapOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1192,31 +1192,31 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapPathbarTextfont Sets the font used inside `pathbar`. @@ -1232,31 +1232,31 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapPathbar @@ -1285,13 +1285,13 @@ type TreemapPathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // TreemapRoot @@ -1311,13 +1311,13 @@ type TreemapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TreemapTextfont Sets the font used for `textinfo`. @@ -1333,31 +1333,31 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapTiling @@ -1381,13 +1381,13 @@ type TreemapTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Squarifyratio // arrayOK: false // type: number // When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/v3.1.1/README.md#squarify_ratio this option specifies the desired aspect ratio of the generated rectangles. The ratio must be specified as a number greater than or equal to one. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio; for example, a ratio of two will attempt to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2. When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034, Plotly applies 1 to increase squares in treemap layouts. - Squarifyratio float64 `json:"squarifyratio,omitempty"` + Squarifyratio types.NumberType `json:"squarifyratio,omitempty"` } // TreemapTransform 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. diff --git a/generated/v2.29.1/graph_objects/violin_gen.go b/generated/v2.29.1/graph_objects/violin_gen.go index 8cd284f..b720e45 100644 --- a/generated/v2.29.1/graph_objects/violin_gen.go +++ b/generated/v2.29.1/graph_objects/violin_gen.go @@ -32,13 +32,13 @@ type Violin struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Bandwidth // arrayOK: false // type: number // Sets the bandwidth used to compute the kernel density estimate. By default, the bandwidth is determined by Silverman's rule of thumb. - Bandwidth float64 `json:"bandwidth,omitempty"` + Bandwidth types.NumberType `json:"bandwidth,omitempty"` // Box // arrayOK: false @@ -57,7 +57,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fillcolor // arrayOK: false @@ -76,7 +76,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Violin struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,25 +126,25 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the violins. - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -155,13 +155,13 @@ type Violin struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,25 +188,25 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. For violin traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical. Note that the trace name is also used as a default value for attribute `scalegroup` (please see its description for details). - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -219,7 +219,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the violins. If *0*, the sample points are places over the center of the violins. Positive (negative) values correspond to positions to the right (left) for vertical violins and above (below) for horizontal violins. - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Points // arrayOK: false @@ -239,7 +239,7 @@ type Violin struct { // arrayOK: false // type: string // If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non-empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to the trace's name. In this case, violins with the same names will be linked together - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Scalemode // arrayOK: false @@ -263,7 +263,7 @@ type Violin struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Side // arrayOK: false @@ -294,13 +294,13 @@ type Violin struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -311,7 +311,7 @@ type Violin struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -335,7 +335,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the width of the violin in data coordinates. If *0* (default value) the width is automatically selected based on the positions of other violin traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -355,19 +355,19 @@ type Violin struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -387,19 +387,19 @@ type Violin struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ViolinBoxLine @@ -415,7 +415,7 @@ type ViolinBoxLine struct { // arrayOK: false // type: number // Sets the inner box plot bounding line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinBox @@ -436,13 +436,13 @@ type ViolinBox struct { // arrayOK: false // type: boolean // Determines if an miniature box plot is drawn inside the violins. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the inner box plots relative to the violins' width. For example, with 1, the inner box plots are as wide as the violins. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinHoverlabelFont Sets the font used in hover labels. @@ -458,31 +458,31 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ViolinHoverlabel @@ -499,7 +499,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -511,7 +511,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -523,7 +523,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -534,13 +534,13 @@ type ViolinHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ViolinLegendgrouptitleFont Sets this legend group's title font. @@ -556,13 +556,13 @@ type ViolinLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinLegendgrouptitle @@ -577,7 +577,7 @@ type ViolinLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ViolinLine @@ -593,7 +593,7 @@ type ViolinLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the violin(s). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarkerLine @@ -615,13 +615,13 @@ type ViolinMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarker @@ -631,7 +631,7 @@ type ViolinMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -648,7 +648,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -660,7 +660,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -683,13 +683,13 @@ type ViolinMeanline struct { // arrayOK: false // type: boolean // Determines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the mean line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinSelectedMarker @@ -705,13 +705,13 @@ type ViolinSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinSelected @@ -730,13 +730,13 @@ type ViolinStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ViolinTransform 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. @@ -756,13 +756,13 @@ type ViolinUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinUnselected diff --git a/generated/v2.29.1/graph_objects/volume_gen.go b/generated/v2.29.1/graph_objects/volume_gen.go index e6a9700..b0621b0 100644 --- a/generated/v2.29.1/graph_objects/volume_gen.go +++ b/generated/v2.29.1/graph_objects/volume_gen.go @@ -32,7 +32,7 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Volume struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,31 +159,31 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -194,13 +194,13 @@ type Volume struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -222,19 +222,19 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -246,25 +246,25 @@ type Volume struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -290,19 +290,19 @@ type Volume struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -322,13 +322,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -349,13 +349,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -369,13 +369,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -389,13 +389,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // VolumeCapsX @@ -405,13 +405,13 @@ type VolumeCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsY @@ -421,13 +421,13 @@ type VolumeCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsZ @@ -437,13 +437,13 @@ type VolumeCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCaps @@ -478,13 +478,13 @@ type VolumeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeColorbarTickformatstop @@ -500,25 +500,25 @@ type VolumeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // VolumeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -534,13 +534,13 @@ type VolumeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeColorbarTitle @@ -562,7 +562,7 @@ type VolumeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeColorbar @@ -584,7 +584,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -609,7 +609,7 @@ type VolumeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -622,13 +622,13 @@ type VolumeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -647,13 +647,13 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -666,7 +666,7 @@ type VolumeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -686,7 +686,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -705,7 +705,7 @@ type VolumeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -722,7 +722,7 @@ type VolumeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -747,13 +747,13 @@ type VolumeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -766,7 +766,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -779,7 +779,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -793,7 +793,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -807,13 +807,13 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -824,7 +824,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -837,7 +837,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -850,7 +850,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -863,7 +863,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -886,13 +886,13 @@ type VolumeContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // VolumeHoverlabelFont Sets the font used in hover labels. @@ -908,31 +908,31 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // VolumeHoverlabel @@ -949,7 +949,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -961,7 +961,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -973,7 +973,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -984,13 +984,13 @@ type VolumeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // VolumeLegendgrouptitleFont Sets this legend group's title font. @@ -1006,13 +1006,13 @@ type VolumeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeLegendgrouptitle @@ -1027,7 +1027,7 @@ type VolumeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeLighting @@ -1037,43 +1037,43 @@ type VolumeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // VolumeLightposition @@ -1083,19 +1083,19 @@ type VolumeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // VolumeSlicesX @@ -1105,7 +1105,7 @@ type VolumeSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1119,13 +1119,13 @@ type VolumeSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesY @@ -1135,7 +1135,7 @@ type VolumeSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1149,13 +1149,13 @@ type VolumeSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesZ @@ -1165,7 +1165,7 @@ type VolumeSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1179,13 +1179,13 @@ type VolumeSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlices @@ -1214,13 +1214,13 @@ type VolumeSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 1 meaning that they are entirely shaded. Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeStream @@ -1230,13 +1230,13 @@ type VolumeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // VolumeSurface @@ -1246,13 +1246,13 @@ type VolumeSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1265,7 +1265,7 @@ type VolumeSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeColorbarExponentformat 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. diff --git a/generated/v2.29.1/graph_objects/waterfall_gen.go b/generated/v2.29.1/graph_objects/waterfall_gen.go index a387382..5d03c84 100644 --- a/generated/v2.29.1/graph_objects/waterfall_gen.go +++ b/generated/v2.29.1/graph_objects/waterfall_gen.go @@ -32,19 +32,19 @@ type Waterfall struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: false // type: number // Sets where the bar base is drawn (in position axis units). - Base float64 `json:"base,omitempty"` + Base types.NumberType `json:"base,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -70,7 +70,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -81,13 +81,13 @@ type Waterfall struct { // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,25 +111,25 @@ type Waterfall struct { // 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. Finally, the template string has access to variables `initial`, `delta` and `final`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -143,7 +143,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -166,13 +166,13 @@ type Waterfall struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -183,13 +183,13 @@ type Waterfall struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Measure // arrayOK: false @@ -203,7 +203,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `measure`. - Measuresrc types.String `json:"measuresrc,omitempty"` + Measuresrc types.StringType `json:"measuresrc,omitempty"` // Meta // arrayOK: true @@ -215,37 +215,37 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -269,7 +269,7 @@ type Waterfall struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -280,13 +280,13 @@ type Waterfall struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -311,25 +311,25 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `initial`, `delta`, `final` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Totals // arrayOK: false @@ -345,7 +345,7 @@ type Waterfall struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -364,13 +364,13 @@ type Waterfall struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -390,13 +390,13 @@ type Waterfall struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -421,7 +421,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -441,13 +441,13 @@ type Waterfall struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -472,7 +472,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // WaterfallConnectorLine @@ -488,13 +488,13 @@ type WaterfallConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallConnector @@ -516,7 +516,7 @@ type WaterfallConnector struct { // arrayOK: false // type: boolean // Determines if connector lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // WaterfallDecreasingMarkerLine @@ -532,7 +532,7 @@ type WaterfallDecreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all decreasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallDecreasingMarker @@ -572,31 +572,31 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallHoverlabel @@ -613,7 +613,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -625,7 +625,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -637,7 +637,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -648,13 +648,13 @@ type WaterfallHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // WaterfallIncreasingMarkerLine @@ -670,7 +670,7 @@ type WaterfallIncreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all increasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallIncreasingMarker @@ -710,31 +710,31 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallLegendgrouptitleFont Sets this legend group's title font. @@ -750,13 +750,13 @@ type WaterfallLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // WaterfallLegendgrouptitle @@ -771,7 +771,7 @@ type WaterfallLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // WaterfallOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -787,31 +787,31 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallStream @@ -821,13 +821,13 @@ type WaterfallStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // WaterfallTextfont Sets the font used for `text`. @@ -843,31 +843,31 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallTotalsMarkerLine @@ -883,7 +883,7 @@ type WaterfallTotalsMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all intermediate sums and total values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallTotalsMarker diff --git a/generated/v2.31.1/graph_objects/animation_gen.go b/generated/v2.31.1/graph_objects/animation_gen.go index 83415c8..0d0e0ab 100644 --- a/generated/v2.31.1/graph_objects/animation_gen.go +++ b/generated/v2.31.1/graph_objects/animation_gen.go @@ -25,7 +25,7 @@ type Animation struct { // arrayOK: false // type: boolean // Play frames starting at the current frame instead of the beginning. - Fromcurrent types.Bool `json:"fromcurrent,omitempty"` + Fromcurrent types.BoolType `json:"fromcurrent,omitempty"` // Mode // arrayOK: false @@ -47,13 +47,13 @@ type AnimationFrame struct { // arrayOK: false // type: number // The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Redraw // arrayOK: false // type: boolean // Redraw the plot at completion of the transition. This is desirable for transitions that include properties that cannot be transitioned, but may significantly slow down updates that do not require a full redraw of the plot - Redraw types.Bool `json:"redraw,omitempty"` + Redraw types.BoolType `json:"redraw,omitempty"` } // AnimationTransition @@ -63,7 +63,7 @@ type AnimationTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false diff --git a/generated/v2.31.1/graph_objects/bar_gen.go b/generated/v2.31.1/graph_objects/bar_gen.go index ead1aa7..741aef8 100644 --- a/generated/v2.31.1/graph_objects/bar_gen.go +++ b/generated/v2.31.1/graph_objects/bar_gen.go @@ -32,7 +32,7 @@ type Bar struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: true @@ -44,13 +44,13 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -71,19 +71,19 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -106,7 +106,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -117,25 +117,25 @@ type Bar struct { // 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. Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -149,7 +149,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -167,13 +167,13 @@ type Bar struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -184,13 +184,13 @@ type Bar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -207,37 +207,37 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -266,7 +266,7 @@ type Bar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -277,13 +277,13 @@ type Bar struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -301,25 +301,25 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `value` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -330,7 +330,7 @@ type Bar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -354,13 +354,13 @@ type Bar struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -380,7 +380,7 @@ type Bar struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -393,7 +393,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -418,7 +418,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -438,7 +438,7 @@ type Bar struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -451,7 +451,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -476,13 +476,13 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // BarErrorX @@ -508,13 +508,13 @@ type BarErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -526,31 +526,31 @@ type BarErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -563,25 +563,25 @@ type BarErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarErrorY @@ -607,13 +607,13 @@ type BarErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -625,25 +625,25 @@ type BarErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -656,25 +656,25 @@ type BarErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarHoverlabelFont Sets the font used in hover labels. @@ -690,31 +690,31 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarHoverlabel @@ -731,7 +731,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -743,7 +743,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -755,7 +755,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -766,13 +766,13 @@ type BarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarInsidetextfont Sets the font used for `text` lying inside the bar. @@ -788,31 +788,31 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarLegendgrouptitleFont Sets this legend group's title font. @@ -828,13 +828,13 @@ type BarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarLegendgrouptitle @@ -849,7 +849,7 @@ type BarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbarTickfont Sets the color bar's tick label font @@ -865,13 +865,13 @@ type BarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarMarkerColorbarTickformatstop @@ -887,25 +887,25 @@ type BarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -921,13 +921,13 @@ type BarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarMarkerColorbarTitle @@ -949,7 +949,7 @@ type BarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbar @@ -971,7 +971,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -996,7 +996,7 @@ type BarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1009,13 +1009,13 @@ type BarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1034,13 +1034,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1053,7 +1053,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1073,7 +1073,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1092,7 +1092,7 @@ type BarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1109,7 +1109,7 @@ type BarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1134,13 +1134,13 @@ type BarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1153,7 +1153,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1166,7 +1166,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1180,7 +1180,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1194,13 +1194,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1211,7 +1211,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1224,7 +1224,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1237,7 +1237,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1250,7 +1250,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1267,31 +1267,31 @@ type BarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1303,7 +1303,7 @@ type BarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1315,25 +1315,25 @@ type BarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarMarkerPattern Sets the pattern within the marker. @@ -1349,7 +1349,7 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1361,13 +1361,13 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1387,31 +1387,31 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarMarker @@ -1421,31 +1421,31 @@ type BarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1457,7 +1457,7 @@ type BarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1474,7 +1474,7 @@ type BarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Cornerradius // arrayOK: false @@ -1491,13 +1491,13 @@ type BarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1508,13 +1508,13 @@ type BarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1530,31 +1530,31 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarSelectedMarker @@ -1570,7 +1570,7 @@ type BarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarSelectedTextfont @@ -1604,13 +1604,13 @@ type BarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarTextfont Sets the font used for `text`. @@ -1626,31 +1626,31 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarTransform 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. @@ -1670,7 +1670,7 @@ type BarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/barpolar_gen.go b/generated/v2.31.1/graph_objects/barpolar_gen.go index 618532f..2a2c8d3 100644 --- a/generated/v2.31.1/graph_objects/barpolar_gen.go +++ b/generated/v2.31.1/graph_objects/barpolar_gen.go @@ -38,7 +38,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Hoverinfo // arrayOK: true @@ -77,7 +77,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -88,25 +88,25 @@ type Barpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -120,19 +120,19 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -143,13 +143,13 @@ type Barpolar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -166,31 +166,31 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the angular position where the bar is drawn (in *thetatunit* units). - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -210,7 +210,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -227,7 +227,7 @@ type Barpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -238,19 +238,19 @@ type Barpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Theta // arrayOK: false @@ -270,7 +270,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -288,7 +288,7 @@ type Barpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -312,13 +312,13 @@ type Barpolar struct { // arrayOK: true // type: number // Sets the bar angular width (in *thetaunit* units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarHoverlabelFont Sets the font used in hover labels. @@ -334,31 +334,31 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BarpolarHoverlabel @@ -375,7 +375,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -387,7 +387,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -399,7 +399,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -410,13 +410,13 @@ type BarpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarpolarLegendgrouptitleFont Sets this legend group's title font. @@ -432,13 +432,13 @@ type BarpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarLegendgrouptitle @@ -453,7 +453,7 @@ type BarpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -469,13 +469,13 @@ type BarpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarMarkerColorbarTickformatstop @@ -491,25 +491,25 @@ type BarpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -525,13 +525,13 @@ type BarpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BarpolarMarkerColorbarTitle @@ -553,7 +553,7 @@ type BarpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbar @@ -575,7 +575,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -600,7 +600,7 @@ type BarpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -613,13 +613,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -638,13 +638,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -657,7 +657,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -677,7 +677,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -696,7 +696,7 @@ type BarpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -713,7 +713,7 @@ type BarpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -738,13 +738,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -757,7 +757,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -770,7 +770,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -784,7 +784,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -798,13 +798,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -815,7 +815,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -828,7 +828,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -841,7 +841,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -854,7 +854,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -871,31 +871,31 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -907,7 +907,7 @@ type BarpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -919,25 +919,25 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarMarkerPattern Sets the pattern within the marker. @@ -953,7 +953,7 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -965,13 +965,13 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -991,31 +991,31 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarpolarMarker @@ -1025,31 +1025,31 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1061,7 +1061,7 @@ type BarpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1078,7 +1078,7 @@ type BarpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1089,13 +1089,13 @@ type BarpolarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1106,13 +1106,13 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarpolarSelectedMarker @@ -1128,7 +1128,7 @@ type BarpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarSelectedTextfont @@ -1162,13 +1162,13 @@ type BarpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarpolarTransform 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. @@ -1188,7 +1188,7 @@ type BarpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/box_gen.go b/generated/v2.31.1/graph_objects/box_gen.go index 156040b..8e0d4e4 100644 --- a/generated/v2.31.1/graph_objects/box_gen.go +++ b/generated/v2.31.1/graph_objects/box_gen.go @@ -32,7 +32,7 @@ type Box struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Boxmean // arrayOK: false @@ -60,19 +60,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step for multi-box traces set using q1/median/q3. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step for multi-box traces set using q1/median/q3. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -91,7 +91,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -109,25 +109,25 @@ type Box struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -141,25 +141,25 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the box(es). - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -170,13 +170,13 @@ type Box struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -195,7 +195,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lowerfence`. - Lowerfencesrc types.String `json:"lowerfencesrc,omitempty"` + Lowerfencesrc types.StringType `json:"lowerfencesrc,omitempty"` // Marker // arrayOK: false @@ -214,7 +214,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `mean`. - Meansrc types.String `json:"meansrc,omitempty"` + Meansrc types.StringType `json:"meansrc,omitempty"` // Median // arrayOK: false @@ -228,7 +228,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `median`. - Mediansrc types.String `json:"mediansrc,omitempty"` + Mediansrc types.StringType `json:"mediansrc,omitempty"` // Meta // arrayOK: true @@ -240,19 +240,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. For box traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Notched // arrayOK: false // type: boolean // Determines whether or not notches are drawn. Notches displays a confidence interval around the median. We compute the confidence interval as median +/- 1.57 * IQR / sqrt(N), where IQR is the interquartile range and N is the sample size. If two boxes' notches do not overlap there is 95% confidence their medians differ. See https://sites.google.com/site/davidsstatistics/home/notched-box-plots for more info. Defaults to *false* unless `notchwidth` or `notchspan` is set. - Notched types.Bool `json:"notched,omitempty"` + Notched types.BoolType `json:"notched,omitempty"` // Notchspan // arrayOK: false @@ -266,25 +266,25 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `notchspan`. - Notchspansrc types.String `json:"notchspansrc,omitempty"` + Notchspansrc types.StringType `json:"notchspansrc,omitempty"` // Notchwidth // arrayOK: false // type: number // Sets the width of the notches relative to the box' width. For example, with 0, the notches are as wide as the box(es). - Notchwidth float64 `json:"notchwidth,omitempty"` + Notchwidth types.NumberType `json:"notchwidth,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -297,7 +297,7 @@ type Box struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the box(es). If *0*, the sample points are places over the center of the box(es). Positive (negative) values correspond to positions to the right (left) for vertical boxes and above (below) for horizontal boxes - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Q1 // arrayOK: false @@ -311,7 +311,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q1`. - Q1src types.String `json:"q1src,omitempty"` + Q1src types.StringType `json:"q1src,omitempty"` // Q3 // arrayOK: false @@ -325,7 +325,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q3`. - Q3src types.String `json:"q3src,omitempty"` + Q3src types.StringType `json:"q3src,omitempty"` // Quartilemethod // arrayOK: false @@ -346,13 +346,13 @@ type Box struct { // arrayOK: false // type: number // Scales the box size when sizemode=sd Allowing boxes to be drawn across any stddev range For example 1-stddev, 3-stddev, 5-stddev - Sdmultiple float64 `json:"sdmultiple,omitempty"` + Sdmultiple types.NumberType `json:"sdmultiple,omitempty"` // Sdsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `sd`. - Sdsrc types.String `json:"sdsrc,omitempty"` + Sdsrc types.StringType `json:"sdsrc,omitempty"` // Selected // arrayOK: false @@ -369,13 +369,13 @@ type Box struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showwhiskers // arrayOK: false // type: boolean // Determines whether or not whiskers are visible. Defaults to true for `sizemode` *quartiles*, false for *sd*. - Showwhiskers types.Bool `json:"showwhiskers,omitempty"` + Showwhiskers types.BoolType `json:"showwhiskers,omitempty"` // Sizemode // arrayOK: false @@ -393,13 +393,13 @@ type Box struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -410,7 +410,7 @@ type Box struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -435,7 +435,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `upperfence`. - Upperfencesrc types.String `json:"upperfencesrc,omitempty"` + Upperfencesrc types.StringType `json:"upperfencesrc,omitempty"` // Visible // arrayOK: false @@ -448,13 +448,13 @@ type Box struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the box in data coordinate If *0* (default value) the width is automatically selected based on the positions of other box traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -474,7 +474,7 @@ type Box struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -487,7 +487,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -512,7 +512,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -532,7 +532,7 @@ type Box struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -545,7 +545,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -570,13 +570,13 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // BoxHoverlabelFont Sets the font used in hover labels. @@ -592,31 +592,31 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // BoxHoverlabel @@ -633,7 +633,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -645,7 +645,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -657,7 +657,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -668,13 +668,13 @@ type BoxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BoxLegendgrouptitleFont Sets this legend group's title font. @@ -690,13 +690,13 @@ type BoxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxLegendgrouptitle @@ -711,7 +711,7 @@ type BoxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BoxLine @@ -727,7 +727,7 @@ type BoxLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarkerLine @@ -749,13 +749,13 @@ type BoxMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarker @@ -765,7 +765,7 @@ type BoxMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -782,7 +782,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -794,7 +794,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -817,13 +817,13 @@ type BoxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxSelected @@ -842,13 +842,13 @@ type BoxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BoxTransform 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. @@ -868,13 +868,13 @@ type BoxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxUnselected diff --git a/generated/v2.31.1/graph_objects/candlestick_gen.go b/generated/v2.31.1/graph_objects/candlestick_gen.go index 3685dde..7aeab1f 100644 --- a/generated/v2.31.1/graph_objects/candlestick_gen.go +++ b/generated/v2.31.1/graph_objects/candlestick_gen.go @@ -40,7 +40,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Candlestick struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,13 +128,13 @@ type Candlestick struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -145,13 +145,13 @@ type Candlestick struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -170,7 +170,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -182,19 +182,19 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -208,7 +208,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -220,7 +220,7 @@ type Candlestick struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -231,13 +231,13 @@ type Candlestick struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -248,7 +248,7 @@ type Candlestick struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -267,7 +267,7 @@ type Candlestick struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // X // arrayOK: false @@ -281,7 +281,7 @@ type Candlestick struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -294,7 +294,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -319,25 +319,25 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // CandlestickDecreasingLine @@ -353,7 +353,7 @@ type CandlestickDecreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickDecreasing @@ -384,31 +384,31 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // CandlestickHoverlabel @@ -425,7 +425,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -437,7 +437,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -449,7 +449,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -460,19 +460,19 @@ type CandlestickHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // CandlestickIncreasingLine @@ -488,7 +488,7 @@ type CandlestickIncreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickIncreasing @@ -519,13 +519,13 @@ type CandlestickLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CandlestickLegendgrouptitle @@ -540,7 +540,7 @@ type CandlestickLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CandlestickLine @@ -550,7 +550,7 @@ type CandlestickLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickStream @@ -560,13 +560,13 @@ type CandlestickStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CandlestickTransform 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. diff --git a/generated/v2.31.1/graph_objects/carpet_gen.go b/generated/v2.31.1/graph_objects/carpet_gen.go index 5b06b20..cc95084 100644 --- a/generated/v2.31.1/graph_objects/carpet_gen.go +++ b/generated/v2.31.1/graph_objects/carpet_gen.go @@ -40,7 +40,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `a`. Builds a linear space of a coordinates. Use with `da` where `a0` is the starting coordinate and `da` the step. - A0 float64 `json:"a0,omitempty"` + A0 types.NumberType `json:"a0,omitempty"` // Aaxis // arrayOK: false @@ -51,7 +51,7 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -65,7 +65,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `b`. Builds a linear space of a coordinates. Use with `db` where `b0` is the starting coordinate and `db` the step. - B0 float64 `json:"b0,omitempty"` + B0 types.NumberType `json:"b0,omitempty"` // Baxis // arrayOK: false @@ -76,19 +76,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,omitempty"` // Cheaterslope // arrayOK: false // type: number // The shift applied to each successive row of data in creating a cheater plot. Only used if `x` is been omitted. - Cheaterslope float64 `json:"cheaterslope,omitempty"` + Cheaterslope types.NumberType `json:"cheaterslope,omitempty"` // Color // arrayOK: false @@ -108,19 +108,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the a coordinate step. See `a0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the b coordinate step. See `b0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Font // arrayOK: false @@ -139,13 +139,13 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Carpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -174,19 +174,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Stream // arrayOK: false @@ -197,7 +197,7 @@ type Carpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -224,13 +224,13 @@ type Carpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -244,19 +244,19 @@ type Carpet struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // CarpetAaxisTickfont Sets the tick font. @@ -272,13 +272,13 @@ type CarpetAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetAaxisTickformatstop @@ -294,25 +294,25 @@ type CarpetAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetAaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -328,13 +328,13 @@ type CarpetAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetAaxisTitle @@ -349,13 +349,13 @@ type CarpetAaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetAaxis @@ -365,13 +365,13 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -399,7 +399,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -425,13 +425,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -443,7 +443,7 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -456,7 +456,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -468,13 +468,13 @@ type CarpetAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -486,19 +486,19 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -510,13 +510,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -528,25 +528,25 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -565,7 +565,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -578,13 +578,13 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -611,13 +611,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -629,19 +629,19 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -652,7 +652,7 @@ type CarpetAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -670,13 +670,13 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -690,7 +690,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -704,7 +704,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -732,13 +732,13 @@ type CarpetBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetBaxisTickformatstop @@ -754,25 +754,25 @@ type CarpetBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetBaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -788,13 +788,13 @@ type CarpetBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetBaxisTitle @@ -809,13 +809,13 @@ type CarpetBaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetBaxis @@ -825,13 +825,13 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -859,7 +859,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -885,13 +885,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -903,7 +903,7 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -916,7 +916,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -928,13 +928,13 @@ type CarpetBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -946,19 +946,19 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -970,13 +970,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -988,25 +988,25 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -1025,7 +1025,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1038,13 +1038,13 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -1071,13 +1071,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -1089,19 +1089,19 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -1112,7 +1112,7 @@ type CarpetBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1130,13 +1130,13 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1150,7 +1150,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1164,7 +1164,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -1192,13 +1192,13 @@ type CarpetFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetLegendgrouptitleFont Sets this legend group's title font. @@ -1214,13 +1214,13 @@ type CarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // CarpetLegendgrouptitle @@ -1235,7 +1235,7 @@ type CarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetStream @@ -1245,13 +1245,13 @@ type CarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CarpetAaxisAutorange Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to *false*. diff --git a/generated/v2.31.1/graph_objects/choropleth_gen.go b/generated/v2.31.1/graph_objects/choropleth_gen.go index cf2cff0..8cb062d 100644 --- a/generated/v2.31.1/graph_objects/choropleth_gen.go +++ b/generated/v2.31.1/graph_objects/choropleth_gen.go @@ -32,13 +32,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geo // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choropleth struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Choropleth struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locationmode // arrayOK: false @@ -187,7 +187,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -204,19 +204,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -233,13 +233,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -250,13 +250,13 @@ type Choropleth struct { // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -267,7 +267,7 @@ type Choropleth struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -299,31 +299,31 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethColorbarTickfont Sets the color bar's tick label font @@ -339,13 +339,13 @@ type ChoroplethColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethColorbarTickformatstop @@ -361,25 +361,25 @@ type ChoroplethColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -395,13 +395,13 @@ type ChoroplethColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethColorbarTitle @@ -423,7 +423,7 @@ type ChoroplethColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethColorbar @@ -445,7 +445,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -470,7 +470,7 @@ type ChoroplethColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -483,13 +483,13 @@ type ChoroplethColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -508,13 +508,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -527,7 +527,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -547,7 +547,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -566,7 +566,7 @@ type ChoroplethColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -583,7 +583,7 @@ type ChoroplethColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -608,13 +608,13 @@ type ChoroplethColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -627,7 +627,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -640,7 +640,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -654,7 +654,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -668,13 +668,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -685,7 +685,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -698,7 +698,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -711,7 +711,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -724,7 +724,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -747,31 +747,31 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ChoroplethHoverlabel @@ -788,7 +788,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -800,7 +800,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -812,7 +812,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -823,13 +823,13 @@ type ChoroplethHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethLegendgrouptitleFont Sets this legend group's title font. @@ -845,13 +845,13 @@ type ChoroplethLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethLegendgrouptitle @@ -866,7 +866,7 @@ type ChoroplethLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethMarkerLine @@ -882,19 +882,19 @@ type ChoroplethMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethMarker @@ -909,13 +909,13 @@ type ChoroplethMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethSelectedMarker @@ -925,7 +925,7 @@ type ChoroplethSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethSelected @@ -944,13 +944,13 @@ type ChoroplethStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethTransform 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. @@ -964,7 +964,7 @@ type ChoroplethUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethUnselected diff --git a/generated/v2.31.1/graph_objects/choroplethmapbox_gen.go b/generated/v2.31.1/graph_objects/choroplethmapbox_gen.go index a3dd267..dc82f67 100644 --- a/generated/v2.31.1/graph_objects/choroplethmapbox_gen.go +++ b/generated/v2.31.1/graph_objects/choroplethmapbox_gen.go @@ -32,19 +32,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,13 +69,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choroplethmapbox struct { // 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. Finally, the template string has access to variable `properties` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Choroplethmapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locations // arrayOK: false @@ -180,7 +180,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -197,19 +197,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -226,13 +226,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -243,19 +243,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -266,7 +266,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -298,31 +298,31 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethmapboxColorbarTickfont Sets the color bar's tick label font @@ -338,13 +338,13 @@ type ChoroplethmapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxColorbarTickformatstop @@ -360,25 +360,25 @@ type ChoroplethmapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethmapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -394,13 +394,13 @@ type ChoroplethmapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxColorbarTitle @@ -422,7 +422,7 @@ type ChoroplethmapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxColorbar @@ -444,7 +444,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -469,7 +469,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -482,13 +482,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -507,13 +507,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -526,7 +526,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -546,7 +546,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -565,7 +565,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -582,7 +582,7 @@ type ChoroplethmapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -607,13 +607,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -626,7 +626,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -639,7 +639,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -653,7 +653,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -667,13 +667,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -684,7 +684,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -697,7 +697,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -710,7 +710,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -723,7 +723,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -746,31 +746,31 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ChoroplethmapboxHoverlabel @@ -787,7 +787,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -799,7 +799,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -811,7 +811,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -822,13 +822,13 @@ type ChoroplethmapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethmapboxLegendgrouptitleFont Sets this legend group's title font. @@ -844,13 +844,13 @@ type ChoroplethmapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ChoroplethmapboxLegendgrouptitle @@ -865,7 +865,7 @@ type ChoroplethmapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxMarkerLine @@ -881,19 +881,19 @@ type ChoroplethmapboxMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethmapboxMarker @@ -908,13 +908,13 @@ type ChoroplethmapboxMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethmapboxSelectedMarker @@ -924,7 +924,7 @@ type ChoroplethmapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxSelected @@ -943,13 +943,13 @@ type ChoroplethmapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethmapboxTransform 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. @@ -963,7 +963,7 @@ type ChoroplethmapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxUnselected diff --git a/generated/v2.31.1/graph_objects/cone_gen.go b/generated/v2.31.1/graph_objects/cone_gen.go index 5d3b675..90a6289 100644 --- a/generated/v2.31.1/graph_objects/cone_gen.go +++ b/generated/v2.31.1/graph_objects/cone_gen.go @@ -39,37 +39,37 @@ type Cone struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -94,7 +94,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -107,7 +107,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -118,25 +118,25 @@ type Cone struct { // 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. Finally, the template string has access to variable `norm` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -150,19 +150,19 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -173,13 +173,13 @@ type Cone struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -201,43 +201,43 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizemode // arrayOK: false @@ -250,7 +250,7 @@ type Cone struct { // arrayOK: false // type: number // Adjusts the cone size scaling. The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`. This factor (computed internally) corresponds to the minimum "time" to travel across two successive x/y/z positions at the average velocity of those two successive positions. All cones in a given trace use the same factor. With `sizemode` set to *raw*, its default value is *1*. With `sizemode` set to *scaled*, `sizeref` is unitless, its default value is *0.5*. With `sizemode` set to *absolute*, `sizeref` has the same units as the u/v/w vector field, its the default value is half the sample's maximum vector norm. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Stream // arrayOK: false @@ -261,13 +261,13 @@ type Cone struct { // arrayOK: true // type: string // Sets the text elements associated with the cones. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // U // arrayOK: false @@ -281,13 +281,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -299,7 +299,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -313,7 +313,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -326,7 +326,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -340,13 +340,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -360,13 +360,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -380,13 +380,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -400,13 +400,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ConeColorbarTickfont Sets the color bar's tick label font @@ -422,13 +422,13 @@ type ConeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeColorbarTickformatstop @@ -444,25 +444,25 @@ type ConeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ConeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -478,13 +478,13 @@ type ConeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeColorbarTitle @@ -506,7 +506,7 @@ type ConeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeColorbar @@ -528,7 +528,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -553,7 +553,7 @@ type ConeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -566,13 +566,13 @@ type ConeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -591,13 +591,13 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -610,7 +610,7 @@ type ConeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -630,7 +630,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -649,7 +649,7 @@ type ConeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -666,7 +666,7 @@ type ConeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -691,13 +691,13 @@ type ConeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -710,7 +710,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -723,7 +723,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -737,7 +737,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -751,13 +751,13 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -768,7 +768,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -781,7 +781,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -794,7 +794,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -807,7 +807,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -830,31 +830,31 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ConeHoverlabel @@ -871,7 +871,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -883,7 +883,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -895,7 +895,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -906,13 +906,13 @@ type ConeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ConeLegendgrouptitleFont Sets this legend group's title font. @@ -928,13 +928,13 @@ type ConeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ConeLegendgrouptitle @@ -949,7 +949,7 @@ type ConeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeLighting @@ -959,43 +959,43 @@ type ConeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // ConeLightposition @@ -1005,19 +1005,19 @@ type ConeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // ConeStream @@ -1027,13 +1027,13 @@ type ConeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ConeAnchor Sets the cones' anchor with respect to their x/y/z positions. Note that *cm* denote the cone's center of mass which corresponds to 1/4 from the tail to tip. diff --git a/generated/v2.31.1/graph_objects/config_gen.go b/generated/v2.31.1/graph_objects/config_gen.go index 44bb91c..c3a5fcf 100644 --- a/generated/v2.31.1/graph_objects/config_gen.go +++ b/generated/v2.31.1/graph_objects/config_gen.go @@ -13,7 +13,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether the graphs are plotted with respect to layout.autosize:true and infer its container size. - Autosizable types.Bool `json:"autosizable,omitempty"` + Autosizable types.BoolType `json:"autosizable,omitempty"` // DisplayModeBar // arrayOK: false @@ -26,7 +26,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not the plotly logo is displayed on the end of the mode bar. - Displaylogo types.Bool `json:"displaylogo,omitempty"` + Displaylogo types.BoolType `json:"displaylogo,omitempty"` // DoubleClick // arrayOK: false @@ -39,19 +39,19 @@ type Config struct { // arrayOK: false // type: number // Sets the delay for registering a double-click in ms. This is the time interval (in ms) between first mousedown and 2nd mouseup to constitute a double-click. This setting propagates to all on-subplot double clicks (except for geo and mapbox) and on-legend double clicks. - DoubleClickDelay float64 `json:"doubleClickDelay,omitempty"` + DoubleClickDelay types.NumberType `json:"doubleClickDelay,omitempty"` // EditSelection // arrayOK: false // type: boolean // Enables moving selections. - EditSelection types.Bool `json:"editSelection,omitempty"` + EditSelection types.BoolType `json:"editSelection,omitempty"` // Editable // arrayOK: false // type: boolean // Determines whether the graph is editable or not. Sets all pieces of `edits` unless a separate `edits` config item overrides individual parts. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Edits // arrayOK: false @@ -62,13 +62,13 @@ type Config struct { // arrayOK: false // type: boolean // When `layout.autosize` is turned on, determines whether the graph fills the container (the default) or the screen (if set to *true*). - FillFrame types.Bool `json:"fillFrame,omitempty"` + FillFrame types.BoolType `json:"fillFrame,omitempty"` // FrameMargins // arrayOK: false // type: number // When `layout.autosize` is turned on, set the frame margins in fraction of the graph size. - FrameMargins float64 `json:"frameMargins,omitempty"` + FrameMargins types.NumberType `json:"frameMargins,omitempty"` // GlobalTransforms // arrayOK: false @@ -80,13 +80,13 @@ type Config struct { // arrayOK: false // type: string // Sets the text appearing in the `showLink` link. - LinkText types.String `json:"linkText,omitempty"` + LinkText types.StringType `json:"linkText,omitempty"` // Locale // arrayOK: false // type: string // Which localization should we use? Should be a string like 'en' or 'en-US'. - Locale types.String `json:"locale,omitempty"` + Locale types.StringType `json:"locale,omitempty"` // Locales // arrayOK: false @@ -98,13 +98,13 @@ type Config struct { // arrayOK: false // type: integer // Turn all console logging on or off (errors will be thrown) This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no logs 1: warnings and errors, but not informational messages 2: verbose logs - Logging int64 `json:"logging,omitempty"` + Logging types.IntegerType `json:"logging,omitempty"` // MapboxAccessToken // arrayOK: false // type: string // Mapbox access token (required to plot mapbox trace types) If using an Mapbox Atlas server, set this option to '' so that plotly.js won't attempt to authenticate to the public Mapbox server. - MapboxAccessToken types.String `json:"mapboxAccessToken,omitempty"` + MapboxAccessToken types.StringType `json:"mapboxAccessToken,omitempty"` // ModeBarButtons // arrayOK: false @@ -128,31 +128,31 @@ type Config struct { // arrayOK: false // type: integer // Set on-graph logging (notifier) level This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no on-graph logs 1: warnings and errors, but not informational messages 2: verbose logs - NotifyOnLogging int64 `json:"notifyOnLogging,omitempty"` + NotifyOnLogging types.IntegerType `json:"notifyOnLogging,omitempty"` // PlotGlPixelRatio // arrayOK: false // type: number // Set the pixel ratio during WebGL image export. This config option was formerly named `plot3dPixelRatio` which is now deprecated. - PlotGlPixelRatio float64 `json:"plotGlPixelRatio,omitempty"` + PlotGlPixelRatio types.NumberType `json:"plotGlPixelRatio,omitempty"` // PlotlyServerURL // arrayOK: false // type: string // When set it determines base URL for the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button and the showLink/sendData on-graph link. To enable sending your data to Chart Studio Cloud, you need to set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and also set `showSendToCloud` to true. - PlotlyServerURL types.String `json:"plotlyServerURL,omitempty"` + PlotlyServerURL types.StringType `json:"plotlyServerURL,omitempty"` // QueueLength // arrayOK: false // type: integer // Sets the length of the undo/redo queue. - QueueLength int64 `json:"queueLength,omitempty"` + QueueLength types.IntegerType `json:"queueLength,omitempty"` // Responsive // arrayOK: false // type: boolean // Determines whether to change the layout size when window is resized. In v3, this option will be removed and will always be true. - Responsive types.Bool `json:"responsive,omitempty"` + Responsive types.BoolType `json:"responsive,omitempty"` // ScrollZoom // arrayOK: false @@ -165,7 +165,7 @@ type Config struct { // arrayOK: false // type: boolean // If *showLink* is true, does it contain data just link to a Chart Studio Cloud file? - SendData types.Bool `json:"sendData,omitempty"` + SendData types.BoolType `json:"sendData,omitempty"` // SetBackground // arrayOK: false @@ -177,31 +177,31 @@ type Config struct { // arrayOK: false // type: boolean // Set to *false* to omit cartesian axis pan/zoom drag handles. - ShowAxisDragHandles types.Bool `json:"showAxisDragHandles,omitempty"` + ShowAxisDragHandles types.BoolType `json:"showAxisDragHandles,omitempty"` // ShowAxisRangeEntryBoxes // arrayOK: false // type: boolean // Set to *false* to omit direct range entry at the pan/zoom drag points, note that `showAxisDragHandles` must be enabled to have an effect. - ShowAxisRangeEntryBoxes types.Bool `json:"showAxisRangeEntryBoxes,omitempty"` + ShowAxisRangeEntryBoxes types.BoolType `json:"showAxisRangeEntryBoxes,omitempty"` // ShowEditInChartStudio // arrayOK: false // type: boolean // Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk. Note that if both `showSendToCloud` and `showEditInChartStudio` are turned, only `showEditInChartStudio` will be honored. - ShowEditInChartStudio types.Bool `json:"showEditInChartStudio,omitempty"` + ShowEditInChartStudio types.BoolType `json:"showEditInChartStudio,omitempty"` // ShowLink // arrayOK: false // type: boolean // Determines whether a link to Chart Studio Cloud is displayed at the bottom right corner of resulting graphs. Use with `sendData` and `linkText`. - ShowLink types.Bool `json:"showLink,omitempty"` + ShowLink types.BoolType `json:"showLink,omitempty"` // ShowSendToCloud // arrayOK: false // type: boolean // Should we include a ModeBar button, labeled "Edit in Chart Studio", that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0 this button was included by default, now it is opt-in using this flag. Note that this button can (depending on `plotlyServerURL` being set) send your data to an external server. However that server does not persist your data until you arrive at the Chart Studio and explicitly click "Save". - ShowSendToCloud types.Bool `json:"showSendToCloud,omitempty"` + ShowSendToCloud types.BoolType `json:"showSendToCloud,omitempty"` // ShowSources // arrayOK: false @@ -213,13 +213,13 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not tips are shown while interacting with the resulting graphs. - ShowTips types.Bool `json:"showTips,omitempty"` + ShowTips types.BoolType `json:"showTips,omitempty"` // StaticPlot // arrayOK: false // type: boolean // Determines whether the graphs are interactive or not. If *false*, no interactivity, for export or image generation. - StaticPlot types.Bool `json:"staticPlot,omitempty"` + StaticPlot types.BoolType `json:"staticPlot,omitempty"` // ToImageButtonOptions // arrayOK: false @@ -231,19 +231,19 @@ type Config struct { // arrayOK: false // type: string // Set the URL to topojson used in geo charts. By default, the topojson files are fetched from cdn.plot.ly. For example, set this option to: /dist/topojson/ to render geographical feature using the topojson files that ship with the plotly.js module. - TopojsonURL types.String `json:"topojsonURL,omitempty"` + TopojsonURL types.StringType `json:"topojsonURL,omitempty"` // TypesetMath // arrayOK: false // type: boolean // Determines whether math should be typeset or not, when MathJax (either v2 or v3) is present on the page. - TypesetMath types.Bool `json:"typesetMath,omitempty"` + TypesetMath types.BoolType `json:"typesetMath,omitempty"` // Watermark // arrayOK: false // type: boolean // watermark the images with the company's logo - Watermark types.Bool `json:"watermark,omitempty"` + Watermark types.BoolType `json:"watermark,omitempty"` } // ConfigEdits @@ -253,61 +253,61 @@ type ConfigEdits struct { // arrayOK: false // type: boolean // Determines if the main anchor of the annotation is editable. The main anchor corresponds to the text (if no arrow) or the arrow (which drags the whole thing leaving the arrow length & direction unchanged). - AnnotationPosition types.Bool `json:"annotationPosition,omitempty"` + AnnotationPosition types.BoolType `json:"annotationPosition,omitempty"` // AnnotationTail // arrayOK: false // type: boolean // Has only an effect for annotations with arrows. Enables changing the length and direction of the arrow. - AnnotationTail types.Bool `json:"annotationTail,omitempty"` + AnnotationTail types.BoolType `json:"annotationTail,omitempty"` // AnnotationText // arrayOK: false // type: boolean // Enables editing annotation text. - AnnotationText types.Bool `json:"annotationText,omitempty"` + AnnotationText types.BoolType `json:"annotationText,omitempty"` // AxisTitleText // arrayOK: false // type: boolean // Enables editing axis title text. - AxisTitleText types.Bool `json:"axisTitleText,omitempty"` + AxisTitleText types.BoolType `json:"axisTitleText,omitempty"` // ColorbarPosition // arrayOK: false // type: boolean // Enables moving colorbars. - ColorbarPosition types.Bool `json:"colorbarPosition,omitempty"` + ColorbarPosition types.BoolType `json:"colorbarPosition,omitempty"` // ColorbarTitleText // arrayOK: false // type: boolean // Enables editing colorbar title text. - ColorbarTitleText types.Bool `json:"colorbarTitleText,omitempty"` + ColorbarTitleText types.BoolType `json:"colorbarTitleText,omitempty"` // LegendPosition // arrayOK: false // type: boolean // Enables moving the legend. - LegendPosition types.Bool `json:"legendPosition,omitempty"` + LegendPosition types.BoolType `json:"legendPosition,omitempty"` // LegendText // arrayOK: false // type: boolean // Enables editing the trace name fields from the legend - LegendText types.Bool `json:"legendText,omitempty"` + LegendText types.BoolType `json:"legendText,omitempty"` // ShapePosition // arrayOK: false // type: boolean // Enables moving shapes. - ShapePosition types.Bool `json:"shapePosition,omitempty"` + ShapePosition types.BoolType `json:"shapePosition,omitempty"` // TitleText // arrayOK: false // type: boolean // Enables editing the global layout title. - TitleText types.Bool `json:"titleText,omitempty"` + TitleText types.BoolType `json:"titleText,omitempty"` } // ConfigDisplayModeBar Determines the mode bar display mode. If *true*, the mode bar is always visible. If *false*, the mode bar is always hidden. If *hover*, the mode bar is visible while the mouse cursor is on the graph container. diff --git a/generated/v2.31.1/graph_objects/contour_gen.go b/generated/v2.31.1/graph_objects/contour_gen.go index 41bed80..d98d712 100644 --- a/generated/v2.31.1/graph_objects/contour_gen.go +++ b/generated/v2.31.1/graph_objects/contour_gen.go @@ -32,19 +32,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -61,7 +61,7 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -80,19 +80,19 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -111,7 +111,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -122,19 +122,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -148,7 +148,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,19 +162,19 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -185,13 +185,13 @@ type Contour struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -208,43 +208,43 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -268,13 +268,13 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -285,13 +285,13 @@ type Contour struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,7 +324,7 @@ type Contour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -337,7 +337,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -362,7 +362,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -389,7 +389,7 @@ type Contour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -402,7 +402,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -427,7 +427,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -448,43 +448,43 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourColorbarTickfont Sets the color bar's tick label font @@ -500,13 +500,13 @@ type ContourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourColorbarTickformatstop @@ -522,25 +522,25 @@ type ContourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -556,13 +556,13 @@ type ContourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourColorbarTitle @@ -584,7 +584,7 @@ type ContourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourColorbar @@ -606,7 +606,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -631,7 +631,7 @@ type ContourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -644,13 +644,13 @@ type ContourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -669,13 +669,13 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -688,7 +688,7 @@ type ContourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -708,7 +708,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -727,7 +727,7 @@ type ContourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -744,7 +744,7 @@ type ContourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -769,13 +769,13 @@ type ContourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -788,7 +788,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -801,7 +801,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -815,7 +815,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -829,13 +829,13 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -846,7 +846,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -859,7 +859,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -872,7 +872,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -885,7 +885,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -908,13 +908,13 @@ type ContourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourContours @@ -931,7 +931,7 @@ type ContourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -942,7 +942,7 @@ type ContourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -955,25 +955,25 @@ type ContourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -1002,31 +1002,31 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ContourHoverlabel @@ -1043,7 +1043,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1055,7 +1055,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1067,7 +1067,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1078,13 +1078,13 @@ type ContourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ContourLegendgrouptitleFont Sets this legend group's title font. @@ -1100,13 +1100,13 @@ type ContourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourLegendgrouptitle @@ -1121,7 +1121,7 @@ type ContourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourLine @@ -1137,19 +1137,19 @@ type ContourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourStream @@ -1159,13 +1159,13 @@ type ContourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1181,13 +1181,13 @@ type ContourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourTransform 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. diff --git a/generated/v2.31.1/graph_objects/contourcarpet_gen.go b/generated/v2.31.1/graph_objects/contourcarpet_gen.go index befd762..2ad883c 100644 --- a/generated/v2.31.1/graph_objects/contourcarpet_gen.go +++ b/generated/v2.31.1/graph_objects/contourcarpet_gen.go @@ -46,7 +46,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // Atype // arrayOK: false @@ -59,13 +59,13 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // B // arrayOK: false @@ -85,7 +85,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // Btype // arrayOK: false @@ -98,13 +98,13 @@ type Contourcarpet struct { // arrayOK: false // type: string // The `carpet` of the carpet axes on which this contour trace lies - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -134,19 +134,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Fillcolor // arrayOK: false @@ -166,7 +166,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -180,19 +180,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -203,13 +203,13 @@ type Contourcarpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -226,43 +226,43 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -281,19 +281,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transpose // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -312,13 +312,13 @@ type Contourcarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -332,37 +332,37 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourcarpetColorbarTickfont Sets the color bar's tick label font @@ -378,13 +378,13 @@ type ContourcarpetColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetColorbarTickformatstop @@ -400,25 +400,25 @@ type ContourcarpetColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourcarpetColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -434,13 +434,13 @@ type ContourcarpetColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetColorbarTitle @@ -462,7 +462,7 @@ type ContourcarpetColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetColorbar @@ -484,7 +484,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -509,7 +509,7 @@ type ContourcarpetColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -522,13 +522,13 @@ type ContourcarpetColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -547,13 +547,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -566,7 +566,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -586,7 +586,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -605,7 +605,7 @@ type ContourcarpetColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -622,7 +622,7 @@ type ContourcarpetColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -647,13 +647,13 @@ type ContourcarpetColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -666,7 +666,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -679,7 +679,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -693,7 +693,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -707,13 +707,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -724,7 +724,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -737,7 +737,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -750,7 +750,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -763,7 +763,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -786,13 +786,13 @@ type ContourcarpetContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetContours @@ -809,7 +809,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -820,7 +820,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -833,25 +833,25 @@ type ContourcarpetContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -880,13 +880,13 @@ type ContourcarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ContourcarpetLegendgrouptitle @@ -901,7 +901,7 @@ type ContourcarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetLine @@ -917,19 +917,19 @@ type ContourcarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourcarpetStream @@ -939,13 +939,13 @@ type ContourcarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourcarpetAtype If *array*, the heatmap's x coordinates are given by *x* (the default behavior when `x` is provided). If *scaled*, the heatmap's x coordinates are given by *x0* and *dx* (the default behavior when `x` is not provided). diff --git a/generated/v2.31.1/graph_objects/densitymapbox_gen.go b/generated/v2.31.1/graph_objects/densitymapbox_gen.go index 489a166..63a591e 100644 --- a/generated/v2.31.1/graph_objects/densitymapbox_gen.go +++ b/generated/v2.31.1/graph_objects/densitymapbox_gen.go @@ -32,19 +32,19 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the densitymapbox trace will be inserted before the layer with the specified ID. By default, densitymapbox traces are placed below the first layer of type symbol If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,7 +69,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -82,7 +82,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -93,25 +93,25 @@ type Densitymapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -125,7 +125,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -139,19 +139,19 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -162,13 +162,13 @@ type Densitymapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lon // arrayOK: false @@ -182,7 +182,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Meta // arrayOK: true @@ -194,49 +194,49 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Radius // arrayOK: true // type: number // Sets the radius of influence of one `lon` / `lat` point in pixels. Increasing the value makes the densitymapbox trace smoother, but less detailed. - Radius *types.ArrayOK[*float64] `json:"radius,omitempty"` + Radius *types.ArrayOK[*types.NumberType] `json:"radius,omitempty"` // Radiussrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `radius`. - Radiussrc types.String `json:"radiussrc,omitempty"` + Radiussrc types.StringType `json:"radiussrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -247,19 +247,19 @@ type Densitymapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -270,7 +270,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -297,31 +297,31 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // DensitymapboxColorbarTickfont Sets the color bar's tick label font @@ -337,13 +337,13 @@ type DensitymapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxColorbarTickformatstop @@ -359,25 +359,25 @@ type DensitymapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // DensitymapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -393,13 +393,13 @@ type DensitymapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxColorbarTitle @@ -421,7 +421,7 @@ type DensitymapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxColorbar @@ -443,7 +443,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -468,7 +468,7 @@ type DensitymapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -481,13 +481,13 @@ type DensitymapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -506,13 +506,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -525,7 +525,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -545,7 +545,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -564,7 +564,7 @@ type DensitymapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -581,7 +581,7 @@ type DensitymapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -606,13 +606,13 @@ type DensitymapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -625,7 +625,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -638,7 +638,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -652,7 +652,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -666,13 +666,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -683,7 +683,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -696,7 +696,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -709,7 +709,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -722,7 +722,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -745,31 +745,31 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // DensitymapboxHoverlabel @@ -786,7 +786,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -798,7 +798,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -810,7 +810,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -821,13 +821,13 @@ type DensitymapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // DensitymapboxLegendgrouptitleFont Sets this legend group's title font. @@ -843,13 +843,13 @@ type DensitymapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // DensitymapboxLegendgrouptitle @@ -864,7 +864,7 @@ type DensitymapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxStream @@ -874,13 +874,13 @@ type DensitymapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // DensitymapboxTransform 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. diff --git a/generated/v2.31.1/graph_objects/frames_gen.go b/generated/v2.31.1/graph_objects/frames_gen.go index f17fece..2a15635 100644 --- a/generated/v2.31.1/graph_objects/frames_gen.go +++ b/generated/v2.31.1/graph_objects/frames_gen.go @@ -11,7 +11,7 @@ type Frame struct { // Baseframe // The name of the frame into which this frame's properties are merged before applying. This is used to unify properties and avoid needing to specify the same values for the same properties in multiple frames. - Baseframe types.String `json:"baseframe,omitempty"` + Baseframe types.StringType `json:"baseframe,omitempty"` // Data // A list of traces this frame modifies. The format is identical to the normal trace definition. @@ -19,15 +19,15 @@ type Frame struct { // Group // An identifier that specifies the group to which the frame belongs, used by animate to select a subset of frames. - Group types.String `json:"group,omitempty"` + Group types.StringType `json:"group,omitempty"` // Layout // Layout properties which this frame modifies. The format is identical to the normal layout definition. - Layout Layout `json:"layout,omitempty"` + Layout *Layout `json:"layout,omitempty"` // Name // A label by which to identify the frame - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Traces // A list of trace indices that identify the respective traces in the data attribute diff --git a/generated/v2.31.1/graph_objects/funnel_gen.go b/generated/v2.31.1/graph_objects/funnel_gen.go index 64854e0..433e5c2 100644 --- a/generated/v2.31.1/graph_objects/funnel_gen.go +++ b/generated/v2.31.1/graph_objects/funnel_gen.go @@ -32,13 +32,13 @@ type Funnel struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -64,19 +64,19 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -89,7 +89,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -100,25 +100,25 @@ type Funnel struct { // 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. Finally, the template string has access to variables `percentInitial`, `percentPrevious` and `percentTotal`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -132,7 +132,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -150,13 +150,13 @@ type Funnel struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Funnel struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -190,31 +190,31 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: false // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -238,7 +238,7 @@ type Funnel struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -249,13 +249,13 @@ type Funnel struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -280,25 +280,25 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `percentInitial`, `percentPrevious`, `percentTotal`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -309,7 +309,7 @@ type Funnel struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -328,7 +328,7 @@ type Funnel struct { // arrayOK: false // type: number // Sets the bar width (in position axis units). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -348,13 +348,13 @@ type Funnel struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -379,7 +379,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -399,13 +399,13 @@ type Funnel struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -430,13 +430,13 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // FunnelConnectorLine @@ -452,13 +452,13 @@ type FunnelConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // FunnelConnector @@ -479,7 +479,7 @@ type FunnelConnector struct { // arrayOK: false // type: boolean // Determines if connector regions and lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // FunnelHoverlabelFont Sets the font used in hover labels. @@ -495,31 +495,31 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelHoverlabel @@ -536,7 +536,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -548,7 +548,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -560,7 +560,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -571,13 +571,13 @@ type FunnelHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelInsidetextfont Sets the font used for `text` lying inside the bar. @@ -593,31 +593,31 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelLegendgrouptitleFont Sets this legend group's title font. @@ -633,13 +633,13 @@ type FunnelLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelLegendgrouptitle @@ -654,7 +654,7 @@ type FunnelLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbarTickfont Sets the color bar's tick label font @@ -670,13 +670,13 @@ type FunnelMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelMarkerColorbarTickformatstop @@ -692,25 +692,25 @@ type FunnelMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // FunnelMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -726,13 +726,13 @@ type FunnelMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelMarkerColorbarTitle @@ -754,7 +754,7 @@ type FunnelMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbar @@ -776,7 +776,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -801,7 +801,7 @@ type FunnelMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -814,13 +814,13 @@ type FunnelMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -839,13 +839,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -858,7 +858,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -878,7 +878,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -897,7 +897,7 @@ type FunnelMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -914,7 +914,7 @@ type FunnelMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -939,13 +939,13 @@ type FunnelMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -958,7 +958,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -971,7 +971,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -985,7 +985,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -999,13 +999,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1016,7 +1016,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1029,7 +1029,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1042,7 +1042,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1055,7 +1055,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1072,31 +1072,31 @@ type FunnelMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1108,7 +1108,7 @@ type FunnelMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1120,25 +1120,25 @@ type FunnelMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelMarker @@ -1148,31 +1148,31 @@ type FunnelMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1184,7 +1184,7 @@ type FunnelMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1201,7 +1201,7 @@ type FunnelMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1212,25 +1212,25 @@ type FunnelMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // FunnelOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1246,31 +1246,31 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelStream @@ -1280,13 +1280,13 @@ type FunnelStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelTextfont Sets the font used for `text`. @@ -1302,31 +1302,31 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelTransform 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. diff --git a/generated/v2.31.1/graph_objects/funnelarea_gen.go b/generated/v2.31.1/graph_objects/funnelarea_gen.go index 9ad003b..7a9cd65 100644 --- a/generated/v2.31.1/graph_objects/funnelarea_gen.go +++ b/generated/v2.31.1/graph_objects/funnelarea_gen.go @@ -32,13 +32,13 @@ type Funnelarea struct { // arrayOK: false // type: number // Sets the ratio between height and width - Aspectratio float64 `json:"aspectratio,omitempty"` + Aspectratio types.NumberType `json:"aspectratio,omitempty"` // Baseratio // arrayOK: false // type: number // Sets the ratio between bottom length and maximum top length. - Baseratio float64 `json:"baseratio,omitempty"` + Baseratio types.NumberType `json:"baseratio,omitempty"` // Customdata // arrayOK: false @@ -52,13 +52,13 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dlabel // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -76,7 +76,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -87,25 +87,25 @@ type Funnelarea struct { // 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. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -119,7 +119,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -130,7 +130,7 @@ type Funnelarea struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -144,19 +144,19 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Funnelarea struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -190,31 +190,31 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple funnelareas that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -252,25 +252,25 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -286,7 +286,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -306,7 +306,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -323,13 +323,13 @@ type FunnelareaDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this funnelarea trace . - Column int64 `json:"column,omitempty"` + 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 funnelarea trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -357,31 +357,31 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaHoverlabel @@ -398,7 +398,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -410,7 +410,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -422,7 +422,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -433,13 +433,13 @@ type FunnelareaHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelareaInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -455,31 +455,31 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaLegendgrouptitleFont Sets this legend group's title font. @@ -495,13 +495,13 @@ type FunnelareaLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // FunnelareaLegendgrouptitle @@ -516,7 +516,7 @@ type FunnelareaLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaMarkerLine @@ -532,19 +532,19 @@ type FunnelareaMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelareaMarkerPattern Sets the pattern within the marker. @@ -560,7 +560,7 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -572,13 +572,13 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -598,31 +598,31 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // FunnelareaMarker @@ -640,7 +640,7 @@ type FunnelareaMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -660,13 +660,13 @@ type FunnelareaStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelareaTextfont Sets the font used for `textinfo`. @@ -682,31 +682,31 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -722,31 +722,31 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // FunnelareaTitle @@ -768,7 +768,7 @@ type FunnelareaTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaTransform 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. diff --git a/generated/v2.31.1/graph_objects/heatmap_gen.go b/generated/v2.31.1/graph_objects/heatmap_gen.go index c793072..845bbf7 100644 --- a/generated/v2.31.1/graph_objects/heatmap_gen.go +++ b/generated/v2.31.1/graph_objects/heatmap_gen.go @@ -32,13 +32,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -55,7 +55,7 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array and `zsmooth` is not false; otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -69,19 +69,19 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -94,7 +94,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,19 +105,19 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -131,7 +131,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -145,19 +145,19 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -168,13 +168,13 @@ type Heatmap struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -186,37 +186,37 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -240,13 +240,13 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -257,13 +257,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -296,7 +296,7 @@ type Heatmap struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -309,13 +309,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -340,7 +340,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -367,7 +367,7 @@ type Heatmap struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -380,13 +380,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -411,7 +411,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -432,37 +432,37 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsmooth // arrayOK: false @@ -475,7 +475,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapColorbarTickfont Sets the color bar's tick label font @@ -491,13 +491,13 @@ type HeatmapColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapColorbarTickformatstop @@ -513,25 +513,25 @@ type HeatmapColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -547,13 +547,13 @@ type HeatmapColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapColorbarTitle @@ -575,7 +575,7 @@ type HeatmapColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapColorbar @@ -597,7 +597,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -622,7 +622,7 @@ type HeatmapColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -635,13 +635,13 @@ type HeatmapColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -660,13 +660,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -679,7 +679,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -699,7 +699,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -718,7 +718,7 @@ type HeatmapColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -735,7 +735,7 @@ type HeatmapColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -760,13 +760,13 @@ type HeatmapColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -779,7 +779,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -792,7 +792,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -806,7 +806,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -820,13 +820,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -837,7 +837,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -850,7 +850,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -863,7 +863,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -876,7 +876,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -899,31 +899,31 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HeatmapHoverlabel @@ -940,7 +940,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -952,7 +952,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -964,7 +964,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -975,13 +975,13 @@ type HeatmapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapLegendgrouptitleFont Sets this legend group's title font. @@ -997,13 +997,13 @@ type HeatmapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapLegendgrouptitle @@ -1018,7 +1018,7 @@ type HeatmapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapStream @@ -1028,13 +1028,13 @@ type HeatmapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapTextfont Sets the text font. @@ -1050,13 +1050,13 @@ type HeatmapTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapTransform 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. diff --git a/generated/v2.31.1/graph_objects/heatmapgl_gen.go b/generated/v2.31.1/graph_objects/heatmapgl_gen.go index f1ff212..31280d3 100644 --- a/generated/v2.31.1/graph_objects/heatmapgl_gen.go +++ b/generated/v2.31.1/graph_objects/heatmapgl_gen.go @@ -32,13 +32,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -88,7 +88,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -107,13 +107,13 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -124,13 +124,13 @@ type Heatmapgl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -142,31 +142,31 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -185,7 +185,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -196,13 +196,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -235,13 +235,13 @@ type Heatmapgl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -268,13 +268,13 @@ type Heatmapgl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -295,25 +295,25 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -326,7 +326,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapglColorbarTickfont Sets the color bar's tick label font @@ -342,13 +342,13 @@ type HeatmapglColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglColorbarTickformatstop @@ -364,25 +364,25 @@ type HeatmapglColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapglColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -398,13 +398,13 @@ type HeatmapglColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglColorbarTitle @@ -426,7 +426,7 @@ type HeatmapglColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglColorbar @@ -448,7 +448,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -473,7 +473,7 @@ type HeatmapglColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -486,13 +486,13 @@ type HeatmapglColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -511,13 +511,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -530,7 +530,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -550,7 +550,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -569,7 +569,7 @@ type HeatmapglColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -586,7 +586,7 @@ type HeatmapglColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -611,13 +611,13 @@ type HeatmapglColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -630,7 +630,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -643,7 +643,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -657,7 +657,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -671,13 +671,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -688,7 +688,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -701,7 +701,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -714,7 +714,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -727,7 +727,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -750,31 +750,31 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HeatmapglHoverlabel @@ -791,7 +791,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -803,7 +803,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -815,7 +815,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -826,13 +826,13 @@ type HeatmapglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapglLegendgrouptitleFont Sets this legend group's title font. @@ -848,13 +848,13 @@ type HeatmapglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HeatmapglLegendgrouptitle @@ -869,7 +869,7 @@ type HeatmapglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglStream @@ -879,13 +879,13 @@ type HeatmapglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapglTransform 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. diff --git a/generated/v2.31.1/graph_objects/histogram2d_gen.go b/generated/v2.31.1/graph_objects/histogram2d_gen.go index 266cb7c..ae17f7e 100644 --- a/generated/v2.31.1/graph_objects/histogram2d_gen.go +++ b/generated/v2.31.1/graph_objects/histogram2d_gen.go @@ -32,31 +32,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -81,7 +81,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -108,7 +108,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -119,13 +119,13 @@ type Histogram2d struct { // 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. Finally, the template string has access to variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -139,19 +139,19 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -162,13 +162,13 @@ type Histogram2d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -185,49 +185,49 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -243,7 +243,7 @@ type Histogram2d struct { // arrayOK: false // 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. Finally, the template string has access to variable `z` - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -254,7 +254,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -281,13 +281,13 @@ type Histogram2d struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -305,19 +305,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -331,13 +331,13 @@ type Histogram2d struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -355,19 +355,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -381,31 +381,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -418,7 +418,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dColorbarTickfont Sets the color bar's tick label font @@ -434,13 +434,13 @@ type Histogram2dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dColorbarTickformatstop @@ -456,25 +456,25 @@ type Histogram2dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -490,13 +490,13 @@ type Histogram2dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dColorbarTitle @@ -518,7 +518,7 @@ type Histogram2dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dColorbar @@ -540,7 +540,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -565,7 +565,7 @@ type Histogram2dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -578,13 +578,13 @@ type Histogram2dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -603,13 +603,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -622,7 +622,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -642,7 +642,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -661,7 +661,7 @@ type Histogram2dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -678,7 +678,7 @@ type Histogram2dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -703,13 +703,13 @@ type Histogram2dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -722,7 +722,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -735,7 +735,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -749,7 +749,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -763,13 +763,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -780,7 +780,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -793,7 +793,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -806,7 +806,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -819,7 +819,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -842,31 +842,31 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Histogram2dHoverlabel @@ -883,7 +883,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -895,7 +895,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -907,7 +907,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -918,13 +918,13 @@ type Histogram2dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dLegendgrouptitleFont Sets this legend group's title font. @@ -940,13 +940,13 @@ type Histogram2dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dLegendgrouptitle @@ -961,7 +961,7 @@ type Histogram2dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dMarker @@ -979,7 +979,7 @@ type Histogram2dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dStream @@ -989,13 +989,13 @@ type Histogram2dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dTextfont Sets the text font. @@ -1011,13 +1011,13 @@ type Histogram2dTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dTransform 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. diff --git a/generated/v2.31.1/graph_objects/histogram2dcontour_gen.go b/generated/v2.31.1/graph_objects/histogram2dcontour_gen.go index f26fd45..2d6a83f 100644 --- a/generated/v2.31.1/graph_objects/histogram2dcontour_gen.go +++ b/generated/v2.31.1/graph_objects/histogram2dcontour_gen.go @@ -32,37 +32,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -92,7 +92,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -119,7 +119,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,13 +130,13 @@ type Histogram2dcontour struct { // 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. Finally, the template string has access to variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -150,19 +150,19 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -173,13 +173,13 @@ type Histogram2dcontour struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -201,55 +201,55 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -265,7 +265,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -276,7 +276,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -303,13 +303,13 @@ type Histogram2dcontour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -327,13 +327,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -347,13 +347,13 @@ type Histogram2dcontour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -371,13 +371,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -391,37 +391,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dcontourColorbarTickfont Sets the color bar's tick label font @@ -437,13 +437,13 @@ type Histogram2dcontourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourColorbarTickformatstop @@ -459,25 +459,25 @@ type Histogram2dcontourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dcontourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -493,13 +493,13 @@ type Histogram2dcontourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourColorbarTitle @@ -521,7 +521,7 @@ type Histogram2dcontourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourColorbar @@ -543,7 +543,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -568,7 +568,7 @@ type Histogram2dcontourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -581,13 +581,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -606,13 +606,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -625,7 +625,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -645,7 +645,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -664,7 +664,7 @@ type Histogram2dcontourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -681,7 +681,7 @@ type Histogram2dcontourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -706,13 +706,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -725,7 +725,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -738,7 +738,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -752,7 +752,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -766,13 +766,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -783,7 +783,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -796,7 +796,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -809,7 +809,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -822,7 +822,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -845,13 +845,13 @@ type Histogram2dcontourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourContours @@ -868,7 +868,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -879,7 +879,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -892,25 +892,25 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -939,31 +939,31 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Histogram2dcontourHoverlabel @@ -980,7 +980,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -992,7 +992,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1004,7 +1004,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1015,13 +1015,13 @@ type Histogram2dcontourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dcontourLegendgrouptitleFont Sets this legend group's title font. @@ -1037,13 +1037,13 @@ type Histogram2dcontourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourLegendgrouptitle @@ -1058,7 +1058,7 @@ type Histogram2dcontourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourLine @@ -1074,19 +1074,19 @@ type Histogram2dcontourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Histogram2dcontourMarker @@ -1104,7 +1104,7 @@ type Histogram2dcontourMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dcontourStream @@ -1114,13 +1114,13 @@ type Histogram2dcontourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dcontourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1136,13 +1136,13 @@ type Histogram2dcontourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Histogram2dcontourTransform 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. diff --git a/generated/v2.31.1/graph_objects/histogram_gen.go b/generated/v2.31.1/graph_objects/histogram_gen.go index 6b3d796..39f2a9d 100644 --- a/generated/v2.31.1/graph_objects/histogram_gen.go +++ b/generated/v2.31.1/graph_objects/histogram_gen.go @@ -32,31 +32,31 @@ type Histogram struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Autobinx // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Bingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible bin settings. Note that traces on the same subplot and with the same *orientation* under `barmode` *stack*, *relative* and *group* are forced into the same bingroup, Using `bingroup`, traces under `barmode` *overlay* and on different axes (of the same axis type) can have compatible bin settings. Note that histogram and histogram2d* trace can share the same `bingroup` - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -82,7 +82,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -119,7 +119,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,25 +130,25 @@ type Histogram struct { // 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. Finally, the template string has access to variable `binNumber` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,7 +162,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -180,13 +180,13 @@ type Histogram struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -197,13 +197,13 @@ type Histogram struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -220,37 +220,37 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -279,7 +279,7 @@ type Histogram struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -290,13 +290,13 @@ type Histogram struct { // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -314,13 +314,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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. Finally, the template string has access to variables `label` and `value`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -331,7 +331,7 @@ type Histogram struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -363,7 +363,7 @@ type Histogram struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbins // arrayOK: false @@ -381,13 +381,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -401,7 +401,7 @@ type Histogram struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybins // arrayOK: false @@ -419,19 +419,19 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // HistogramCumulative @@ -455,7 +455,7 @@ type HistogramCumulative struct { // arrayOK: false // type: boolean // If true, display the cumulative distribution by summing the binned values. Use the `direction` and `centralbin` attributes to tune the accumulation method. Note: in this mode, the *density* `histnorm` settings behave the same as their equivalents without *density*: ** and *density* both rise to the number of data points, and *probability* and *probability density* both rise to the number of sample points. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` } // HistogramErrorX @@ -481,13 +481,13 @@ type HistogramErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -499,31 +499,31 @@ type HistogramErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -536,25 +536,25 @@ type HistogramErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramErrorY @@ -580,13 +580,13 @@ type HistogramErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -598,25 +598,25 @@ type HistogramErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -629,25 +629,25 @@ type HistogramErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramHoverlabelFont Sets the font used in hover labels. @@ -663,31 +663,31 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // HistogramHoverlabel @@ -704,7 +704,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -716,7 +716,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -728,7 +728,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -739,13 +739,13 @@ type HistogramHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HistogramInsidetextfont Sets the font used for `text` lying inside the bar. @@ -761,13 +761,13 @@ type HistogramInsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramLegendgrouptitleFont Sets this legend group's title font. @@ -783,13 +783,13 @@ type HistogramLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramLegendgrouptitle @@ -804,7 +804,7 @@ type HistogramLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbarTickfont Sets the color bar's tick label font @@ -820,13 +820,13 @@ type HistogramMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramMarkerColorbarTickformatstop @@ -842,25 +842,25 @@ type HistogramMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HistogramMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -876,13 +876,13 @@ type HistogramMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramMarkerColorbarTitle @@ -904,7 +904,7 @@ type HistogramMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbar @@ -926,7 +926,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -951,7 +951,7 @@ type HistogramMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -964,13 +964,13 @@ type HistogramMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -989,13 +989,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1008,7 +1008,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1028,7 +1028,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1047,7 +1047,7 @@ type HistogramMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1064,7 +1064,7 @@ type HistogramMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1089,13 +1089,13 @@ type HistogramMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1108,7 +1108,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1121,7 +1121,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1135,7 +1135,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1149,13 +1149,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1166,7 +1166,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1179,7 +1179,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1192,7 +1192,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1205,7 +1205,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1222,31 +1222,31 @@ type HistogramMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1258,7 +1258,7 @@ type HistogramMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1270,25 +1270,25 @@ type HistogramMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // HistogramMarkerPattern Sets the pattern within the marker. @@ -1304,7 +1304,7 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1316,13 +1316,13 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1342,31 +1342,31 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // HistogramMarker @@ -1376,31 +1376,31 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1412,7 +1412,7 @@ type HistogramMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1429,7 +1429,7 @@ type HistogramMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Cornerradius // arrayOK: false @@ -1446,13 +1446,13 @@ type HistogramMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1463,13 +1463,13 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // HistogramOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1485,13 +1485,13 @@ type HistogramOutsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramSelectedMarker @@ -1507,7 +1507,7 @@ type HistogramSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramSelectedTextfont @@ -1541,13 +1541,13 @@ type HistogramStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HistogramTextfont Sets the text font. @@ -1563,13 +1563,13 @@ type HistogramTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // HistogramTransform 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. @@ -1589,7 +1589,7 @@ type HistogramUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/icicle_gen.go b/generated/v2.31.1/graph_objects/icicle_gen.go index 7ca15d7..02b93b7 100644 --- a/generated/v2.31.1/graph_objects/icicle_gen.go +++ b/generated/v2.31.1/graph_objects/icicle_gen.go @@ -54,7 +54,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Icicle struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,7 +134,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -145,7 +145,7 @@ type Icicle struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Icicle struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -179,7 +179,7 @@ type Icicle struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -191,19 +191,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -222,7 +222,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -238,7 +238,7 @@ type Icicle struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -276,19 +276,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -304,7 +304,7 @@ type Icicle struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,7 +324,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -341,13 +341,13 @@ type IcicleDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this icicle trace . - Column int64 `json:"column,omitempty"` + 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 icicle trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -375,31 +375,31 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleHoverlabel @@ -416,7 +416,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -428,7 +428,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -440,7 +440,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -451,13 +451,13 @@ type IcicleHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IcicleInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -473,31 +473,31 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleLeaf @@ -507,7 +507,7 @@ type IcicleLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // IcicleLegendgrouptitleFont Sets this legend group's title font. @@ -523,13 +523,13 @@ type IcicleLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleLegendgrouptitle @@ -544,7 +544,7 @@ type IcicleLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbarTickfont Sets the color bar's tick label font @@ -560,13 +560,13 @@ type IcicleMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleMarkerColorbarTickformatstop @@ -582,25 +582,25 @@ type IcicleMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IcicleMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -616,13 +616,13 @@ type IcicleMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IcicleMarkerColorbarTitle @@ -644,7 +644,7 @@ type IcicleMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbar @@ -666,7 +666,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -691,7 +691,7 @@ type IcicleMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -704,13 +704,13 @@ type IcicleMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -729,13 +729,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -748,7 +748,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -768,7 +768,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -787,7 +787,7 @@ type IcicleMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -804,7 +804,7 @@ type IcicleMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -829,13 +829,13 @@ type IcicleMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -848,7 +848,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -861,7 +861,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -875,7 +875,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -889,13 +889,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -906,7 +906,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -919,7 +919,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -932,7 +932,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -945,7 +945,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -968,19 +968,19 @@ type IcicleMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // IcicleMarkerPattern Sets the pattern within the marker. @@ -996,7 +996,7 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1008,13 +1008,13 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1034,31 +1034,31 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // IcicleMarker @@ -1068,37 +1068,37 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1123,7 +1123,7 @@ type IcicleMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1139,13 +1139,13 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // IcicleOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1161,31 +1161,31 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IciclePathbarTextfont Sets the font used inside `pathbar`. @@ -1201,31 +1201,31 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IciclePathbar @@ -1254,13 +1254,13 @@ type IciclePathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IcicleRoot @@ -1280,13 +1280,13 @@ type IcicleStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IcicleTextfont Sets the font used for `textinfo`. @@ -1302,31 +1302,31 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IcicleTiling @@ -1350,7 +1350,7 @@ type IcicleTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` } // IcicleTransform 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. diff --git a/generated/v2.31.1/graph_objects/image_gen.go b/generated/v2.31.1/graph_objects/image_gen.go index 2eb82e0..bd4673c 100644 --- a/generated/v2.31.1/graph_objects/image_gen.go +++ b/generated/v2.31.1/graph_objects/image_gen.go @@ -47,19 +47,19 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Set the pixel's horizontal size. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Set the pixel's vertical size - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -72,7 +72,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,13 +83,13 @@ type Image struct { // 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. Finally, the template string has access to variables `z`, `color` and `colormodel`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -103,7 +103,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,13 +117,13 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -134,13 +134,13 @@ type Image struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -152,25 +152,25 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false // type: string // Specifies the data URI of the image to be visualized. The URI consists of "data:image/[][;base64]," - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,omitempty"` // Stream // arrayOK: false @@ -189,13 +189,13 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -220,7 +220,7 @@ type Image struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Y0 // arrayOK: false @@ -232,7 +232,7 @@ type Image struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -258,7 +258,7 @@ type Image struct { // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsmooth // arrayOK: false @@ -271,7 +271,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ImageHoverlabelFont Sets the font used in hover labels. @@ -287,31 +287,31 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ImageHoverlabel @@ -328,7 +328,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -340,7 +340,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -352,7 +352,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -363,13 +363,13 @@ type ImageHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ImageLegendgrouptitleFont Sets this legend group's title font. @@ -385,13 +385,13 @@ type ImageLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ImageLegendgrouptitle @@ -406,7 +406,7 @@ type ImageLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ImageStream @@ -416,13 +416,13 @@ type ImageStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ImageColormodel Color model used to map the numerical color components described in `z` into colors. If `source` is specified, this attribute will be set to `rgba256` otherwise it defaults to `rgb`. diff --git a/generated/v2.31.1/graph_objects/indicator_gen.go b/generated/v2.31.1/graph_objects/indicator_gen.go index a10e00c..0e269ce 100644 --- a/generated/v2.31.1/graph_objects/indicator_gen.go +++ b/generated/v2.31.1/graph_objects/indicator_gen.go @@ -47,7 +47,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delta // arrayOK: false @@ -76,13 +76,13 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -93,13 +93,13 @@ type Indicator struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -111,7 +111,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -124,7 +124,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Number // arrayOK: false @@ -150,7 +150,7 @@ type Indicator struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -162,7 +162,7 @@ type Indicator struct { // arrayOK: false // type: number // Sets the number to be displayed. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Visible // arrayOK: false @@ -185,7 +185,7 @@ type IndicatorDeltaDecreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDeltaFont Set the font used to display the delta @@ -201,13 +201,13 @@ type IndicatorDeltaFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorDeltaIncreasing @@ -223,7 +223,7 @@ type IndicatorDeltaIncreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDelta @@ -255,31 +255,31 @@ type IndicatorDelta struct { // arrayOK: false // type: string // Sets a prefix appearing before the delta. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Reference // arrayOK: false // type: number // Sets the reference value to compute the delta. By default, it is set to the current value. - Reference float64 `json:"reference,omitempty"` + Reference types.NumberType `json:"reference,omitempty"` // Relative // arrayOK: false // type: boolean // Show relative change - Relative types.Bool `json:"relative,omitempty"` + Relative types.BoolType `json:"relative,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the delta. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorDomain @@ -289,13 +289,13 @@ type IndicatorDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this indicator trace . - Column int64 `json:"column,omitempty"` + 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 indicator trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -323,13 +323,13 @@ type IndicatorGaugeAxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorGaugeAxisTickformatstop @@ -345,25 +345,25 @@ type IndicatorGaugeAxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IndicatorGaugeAxis @@ -392,13 +392,13 @@ type IndicatorGaugeAxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -410,7 +410,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -423,7 +423,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -449,7 +449,7 @@ type IndicatorGaugeAxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -466,7 +466,7 @@ type IndicatorGaugeAxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -477,13 +477,13 @@ type IndicatorGaugeAxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -496,7 +496,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -509,7 +509,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -523,7 +523,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -537,19 +537,19 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IndicatorGaugeBarLine @@ -565,7 +565,7 @@ type IndicatorGaugeBarLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeBar Set the appearance of the gauge's value @@ -586,7 +586,7 @@ type IndicatorGaugeBar struct { // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // StepLine @@ -602,7 +602,7 @@ type StepLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeStep @@ -623,7 +623,7 @@ type IndicatorGaugeStep struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -635,13 +635,13 @@ type IndicatorGaugeStep struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // IndicatorGaugeThresholdLine @@ -657,7 +657,7 @@ type IndicatorGaugeThresholdLine struct { // arrayOK: false // type: number // Sets the width (in px) of the threshold line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeThreshold @@ -672,13 +672,13 @@ type IndicatorGaugeThreshold struct { // arrayOK: false // type: number // Sets the thickness of the threshold line as a fraction of the thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Value // arrayOK: false // type: number // Sets a treshold value drawn as a line. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` } // IndicatorGauge The gauge of the Indicator plot. @@ -710,7 +710,7 @@ type IndicatorGauge struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the gauge. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Shape // arrayOK: false @@ -743,13 +743,13 @@ type IndicatorLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorLegendgrouptitle @@ -764,7 +764,7 @@ type IndicatorLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorNumberFont Set the font used to display main number @@ -780,13 +780,13 @@ type IndicatorNumberFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorNumber @@ -801,19 +801,19 @@ type IndicatorNumber struct { // arrayOK: false // type: string // Sets a prefix appearing before the number. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the number. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorStream @@ -823,13 +823,13 @@ type IndicatorStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IndicatorTitleFont Set the font used to display the title @@ -845,13 +845,13 @@ type IndicatorTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IndicatorTitle @@ -873,7 +873,7 @@ type IndicatorTitle struct { // arrayOK: false // type: string // Sets the title of this indicator. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorTransform 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. diff --git a/generated/v2.31.1/graph_objects/isosurface_gen.go b/generated/v2.31.1/graph_objects/isosurface_gen.go index 7900176..b228bb2 100644 --- a/generated/v2.31.1/graph_objects/isosurface_gen.go +++ b/generated/v2.31.1/graph_objects/isosurface_gen.go @@ -32,7 +32,7 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Isosurface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,31 +159,31 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -194,13 +194,13 @@ type Isosurface struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -222,43 +222,43 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -284,19 +284,19 @@ type Isosurface struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -316,13 +316,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -343,13 +343,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -363,13 +363,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -383,13 +383,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // IsosurfaceCapsX @@ -399,13 +399,13 @@ type IsosurfaceCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsY @@ -415,13 +415,13 @@ type IsosurfaceCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsZ @@ -431,13 +431,13 @@ type IsosurfaceCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCaps @@ -472,13 +472,13 @@ type IsosurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceColorbarTickformatstop @@ -494,25 +494,25 @@ type IsosurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IsosurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -528,13 +528,13 @@ type IsosurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceColorbarTitle @@ -556,7 +556,7 @@ type IsosurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceColorbar @@ -578,7 +578,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -603,7 +603,7 @@ type IsosurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -616,13 +616,13 @@ type IsosurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -641,13 +641,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -660,7 +660,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -680,7 +680,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -699,7 +699,7 @@ type IsosurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -716,7 +716,7 @@ type IsosurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -741,13 +741,13 @@ type IsosurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -760,7 +760,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -773,7 +773,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -787,7 +787,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -801,13 +801,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -818,7 +818,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -831,7 +831,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -844,7 +844,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -857,7 +857,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -880,13 +880,13 @@ type IsosurfaceContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IsosurfaceHoverlabelFont Sets the font used in hover labels. @@ -902,31 +902,31 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // IsosurfaceHoverlabel @@ -943,7 +943,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -955,7 +955,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -967,7 +967,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -978,13 +978,13 @@ type IsosurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IsosurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -1000,13 +1000,13 @@ type IsosurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // IsosurfaceLegendgrouptitle @@ -1021,7 +1021,7 @@ type IsosurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceLighting @@ -1031,43 +1031,43 @@ type IsosurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // IsosurfaceLightposition @@ -1077,19 +1077,19 @@ type IsosurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // IsosurfaceSlicesX @@ -1099,7 +1099,7 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1113,13 +1113,13 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesY @@ -1129,7 +1129,7 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1143,13 +1143,13 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesZ @@ -1159,7 +1159,7 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1173,13 +1173,13 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlices @@ -1208,13 +1208,13 @@ type IsosurfaceSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 0.15 meaning that only 15% of the area of every faces of tetras would be shaded. Applying a greater `fill` ratio would allow the creation of stronger elements or could be sued to have entirely closed areas (in case of using 1). - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceStream @@ -1224,13 +1224,13 @@ type IsosurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IsosurfaceSurface @@ -1240,13 +1240,13 @@ type IsosurfaceSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1259,7 +1259,7 @@ type IsosurfaceSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceColorbarExponentformat 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. diff --git a/generated/v2.31.1/graph_objects/layout_gen.go b/generated/v2.31.1/graph_objects/layout_gen.go index 6643218..699edfe 100644 --- a/generated/v2.31.1/graph_objects/layout_gen.go +++ b/generated/v2.31.1/graph_objects/layout_gen.go @@ -28,7 +28,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout. Note that, regardless of this attribute, an undefined layout width or height is always initialized on the first call to plot. - Autosize types.Bool `json:"autosize,omitempty"` + Autosize types.BoolType `json:"autosize,omitempty"` // Autotypenumbers // arrayOK: false @@ -47,13 +47,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap between bars of adjacent location coordinates. Values are unitless, they represent fractions of the minimum difference in bar positions in the data. - Bargap float64 `json:"bargap,omitempty"` + Bargap types.NumberType `json:"bargap,omitempty"` // Bargroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Bargroupgap float64 `json:"bargroupgap,omitempty"` + Bargroupgap types.NumberType `json:"bargroupgap,omitempty"` // Barmode // arrayOK: false @@ -73,13 +73,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of adjacent location coordinates. Has no effect on traces that have *width* set. - Boxgap float64 `json:"boxgap,omitempty"` + Boxgap types.NumberType `json:"boxgap,omitempty"` // Boxgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of the same location coordinate. Has no effect on traces that have *width* set. - Boxgroupgap float64 `json:"boxgroupgap,omitempty"` + Boxgroupgap types.NumberType `json:"boxgroupgap,omitempty"` // Boxmode // arrayOK: false @@ -147,31 +147,31 @@ type Layout struct { // arrayOK: false // type: boolean // If `true`, the funnelarea slice colors (whether given by `funnelareacolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendfunnelareacolors types.Bool `json:"extendfunnelareacolors,omitempty"` + Extendfunnelareacolors types.BoolType `json:"extendfunnelareacolors,omitempty"` // Extendiciclecolors // arrayOK: false // type: boolean // If `true`, the icicle slice colors (whether given by `iciclecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendiciclecolors types.Bool `json:"extendiciclecolors,omitempty"` + Extendiciclecolors types.BoolType `json:"extendiciclecolors,omitempty"` // Extendpiecolors // arrayOK: false // type: boolean // If `true`, the pie slice colors (whether given by `piecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendpiecolors types.Bool `json:"extendpiecolors,omitempty"` + Extendpiecolors types.BoolType `json:"extendpiecolors,omitempty"` // Extendsunburstcolors // arrayOK: false // type: boolean // If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendsunburstcolors types.Bool `json:"extendsunburstcolors,omitempty"` + Extendsunburstcolors types.BoolType `json:"extendsunburstcolors,omitempty"` // Extendtreemapcolors // arrayOK: false // type: boolean // If `true`, the treemap slice colors (whether given by `treemapcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendtreemapcolors types.Bool `json:"extendtreemapcolors,omitempty"` + Extendtreemapcolors types.BoolType `json:"extendtreemapcolors,omitempty"` // Font // arrayOK: false @@ -188,13 +188,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Funnelgap float64 `json:"funnelgap,omitempty"` + Funnelgap types.NumberType `json:"funnelgap,omitempty"` // Funnelgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Funnelgroupgap float64 `json:"funnelgroupgap,omitempty"` + Funnelgroupgap types.NumberType `json:"funnelgroupgap,omitempty"` // Funnelmode // arrayOK: false @@ -217,7 +217,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's height (in px). - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hiddenlabels // arrayOK: false @@ -231,19 +231,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hiddenlabels`. - Hiddenlabelssrc types.String `json:"hiddenlabelssrc,omitempty"` + Hiddenlabelssrc types.StringType `json:"hiddenlabelssrc,omitempty"` // Hidesources // arrayOK: false // type: boolean // Determines whether or not a text link citing the data source is placed at the bottom-right cored of the figure. Has only an effect only on graphs that have been generated via forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise). - Hidesources types.Bool `json:"hidesources,omitempty"` + Hidesources types.BoolType `json:"hidesources,omitempty"` // Hoverdistance // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict. - Hoverdistance int64 `json:"hoverdistance,omitempty"` + Hoverdistance types.IntegerType `json:"hoverdistance,omitempty"` // Hoverlabel // arrayOK: false @@ -300,19 +300,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Minreducedheight // arrayOK: false // type: number // Minimum height of the plot with margin.automargin applied (in px) - Minreducedheight float64 `json:"minreducedheight,omitempty"` + Minreducedheight types.NumberType `json:"minreducedheight,omitempty"` // Minreducedwidth // arrayOK: false // type: number // Minimum width of the plot with margin.automargin applied (in px) - Minreducedwidth float64 `json:"minreducedwidth,omitempty"` + Minreducedwidth types.NumberType `json:"minreducedwidth,omitempty"` // Modebar // arrayOK: false @@ -356,7 +356,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between scatter points of adjacent location coordinates. Defaults to `bargap`. - Scattergap float64 `json:"scattergap,omitempty"` + Scattergap types.NumberType `json:"scattergap,omitempty"` // Scattermode // arrayOK: false @@ -392,7 +392,7 @@ type Layout struct { // arrayOK: false // type: string // Sets the decimal and thousand separators. For example, *. * puts a '.' before decimals and a space between thousands. In English locales, dflt is *.,* but other locales may alter this default. - Separators types.String `json:"separators,omitempty"` + Separators types.StringType `json:"separators,omitempty"` // Shapes // role: Object @@ -403,7 +403,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a legend is drawn. Default is `true` if there is a trace to show and any of these: a) Two or more traces would by default be shown in the legend. b) One pie trace is shown in the legend. c) One trace is explicitly given with `showlegend: true`. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sliders // role: Object @@ -419,7 +419,7 @@ type Layout struct { // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills. - Spikedistance int64 `json:"spikedistance,omitempty"` + Spikedistance types.IntegerType `json:"spikedistance,omitempty"` // Sunburstcolorway // arrayOK: false @@ -474,13 +474,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of adjacent location coordinates. Has no effect on traces that have *width* set. - Violingap float64 `json:"violingap,omitempty"` + Violingap types.NumberType `json:"violingap,omitempty"` // Violingroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of the same location coordinate. Has no effect on traces that have *width* set. - Violingroupgap float64 `json:"violingroupgap,omitempty"` + Violingroupgap types.NumberType `json:"violingroupgap,omitempty"` // Violinmode // arrayOK: false @@ -493,13 +493,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Waterfallgap float64 `json:"waterfallgap,omitempty"` + Waterfallgap types.NumberType `json:"waterfallgap,omitempty"` // Waterfallgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Waterfallgroupgap float64 `json:"waterfallgroupgap,omitempty"` + Waterfallgroupgap types.NumberType `json:"waterfallgroupgap,omitempty"` // Waterfallmode // arrayOK: false @@ -512,7 +512,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // Xaxis // arrayOK: false @@ -578,7 +578,7 @@ type LayoutActiveselection struct { // arrayOK: false // type: number // Sets the opacity of the active selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // LayoutActiveshape @@ -594,7 +594,7 @@ type LayoutActiveshape struct { // arrayOK: false // type: number // Sets the opacity of the active shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // AnnotationFont Sets the annotation text font. @@ -610,13 +610,13 @@ type AnnotationFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // AnnotationHoverlabelFont Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`. @@ -632,13 +632,13 @@ type AnnotationHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // AnnotationHoverlabel @@ -682,7 +682,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -695,13 +695,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false @@ -745,19 +745,19 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Clicktoshow // arrayOK: false @@ -775,7 +775,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -786,67 +786,67 @@ type LayoutAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -859,13 +859,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -897,7 +897,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -929,7 +929,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` } // LayoutColoraxisColorbarTickfont Sets the color bar's tick label font @@ -945,13 +945,13 @@ type LayoutColoraxisColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutColoraxisColorbarTickformatstop @@ -967,25 +967,25 @@ type LayoutColoraxisColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutColoraxisColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1001,13 +1001,13 @@ type LayoutColoraxisColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutColoraxisColorbarTitle @@ -1029,7 +1029,7 @@ type LayoutColoraxisColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutColoraxisColorbar @@ -1051,7 +1051,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1076,7 +1076,7 @@ type LayoutColoraxisColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1089,13 +1089,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1114,13 +1114,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1133,7 +1133,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1153,7 +1153,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1172,7 +1172,7 @@ type LayoutColoraxisColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1189,7 +1189,7 @@ type LayoutColoraxisColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1214,13 +1214,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1233,7 +1233,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1246,7 +1246,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1260,7 +1260,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1274,13 +1274,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1291,7 +1291,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1304,7 +1304,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1317,7 +1317,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1330,7 +1330,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1347,31 +1347,31 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 corresponding trace color array(s)) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as corresponding trace color array(s). Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorbar // arrayOK: false @@ -1388,13 +1388,13 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // LayoutColorscale @@ -1432,13 +1432,13 @@ type LayoutFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutGeoCenter @@ -1448,13 +1448,13 @@ type LayoutGeoCenter struct { // arrayOK: false // type: number // Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default. - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutGeoDomain @@ -1464,13 +1464,13 @@ type LayoutGeoDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Column int64 `json:"column,omitempty"` + 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 geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -1492,7 +1492,7 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1504,13 +1504,13 @@ type LayoutGeoLataxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1522,13 +1522,13 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoLonaxis @@ -1538,7 +1538,7 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1550,13 +1550,13 @@ type LayoutGeoLonaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1568,13 +1568,13 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoProjectionRotation @@ -1584,19 +1584,19 @@ type LayoutGeoProjectionRotation struct { // arrayOK: false // type: number // Rotates the map along meridians (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Rotates the map along parallels (in degrees East). Defaults to the center of the `lonaxis.range` values. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` // Roll // arrayOK: false // type: number // Roll the map (in degrees) For example, a roll of *180* makes the map appear upside down. - Roll float64 `json:"roll,omitempty"` + Roll types.NumberType `json:"roll,omitempty"` } // LayoutGeoProjection @@ -1606,7 +1606,7 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // For satellite projection type only. Sets the distance from the center of the sphere to the point of view as a proportion of the sphere’s radius. - Distance float64 `json:"distance,omitempty"` + Distance types.NumberType `json:"distance,omitempty"` // Parallels // arrayOK: false @@ -1623,13 +1623,13 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // Zooms in or out on the map view. A scale of *1* corresponds to the largest zoom level that fits the map's lon and lat ranges. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Tilt // arrayOK: false // type: number // For satellite projection type only. Sets the tilt angle of perspective projection. - Tilt float64 `json:"tilt,omitempty"` + Tilt types.NumberType `json:"tilt,omitempty"` // Type // arrayOK: false @@ -1663,7 +1663,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the coastline stroke width (in px). - Coastlinewidth float64 `json:"coastlinewidth,omitempty"` + Coastlinewidth types.NumberType `json:"coastlinewidth,omitempty"` // Countrycolor // arrayOK: false @@ -1675,7 +1675,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets line width (in px) of the country boundaries. - Countrywidth float64 `json:"countrywidth,omitempty"` + Countrywidth types.NumberType `json:"countrywidth,omitempty"` // Domain // arrayOK: false @@ -1699,7 +1699,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the frame. - Framewidth float64 `json:"framewidth,omitempty"` + Framewidth types.NumberType `json:"framewidth,omitempty"` // Lakecolor // arrayOK: false @@ -1751,7 +1751,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the rivers. - Riverwidth float64 `json:"riverwidth,omitempty"` + Riverwidth types.NumberType `json:"riverwidth,omitempty"` // Scope // arrayOK: false @@ -1764,49 +1764,49 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets whether or not the coastlines are drawn. - Showcoastlines types.Bool `json:"showcoastlines,omitempty"` + Showcoastlines types.BoolType `json:"showcoastlines,omitempty"` // Showcountries // arrayOK: false // type: boolean // Sets whether or not country boundaries are drawn. - Showcountries types.Bool `json:"showcountries,omitempty"` + Showcountries types.BoolType `json:"showcountries,omitempty"` // Showframe // arrayOK: false // type: boolean // Sets whether or not a frame is drawn around the map. - Showframe types.Bool `json:"showframe,omitempty"` + Showframe types.BoolType `json:"showframe,omitempty"` // Showlakes // arrayOK: false // type: boolean // Sets whether or not lakes are drawn. - Showlakes types.Bool `json:"showlakes,omitempty"` + Showlakes types.BoolType `json:"showlakes,omitempty"` // Showland // arrayOK: false // type: boolean // Sets whether or not land masses are filled in color. - Showland types.Bool `json:"showland,omitempty"` + Showland types.BoolType `json:"showland,omitempty"` // Showocean // arrayOK: false // type: boolean // Sets whether or not oceans are filled in color. - Showocean types.Bool `json:"showocean,omitempty"` + Showocean types.BoolType `json:"showocean,omitempty"` // Showrivers // arrayOK: false // type: boolean // Sets whether or not rivers are drawn. - Showrivers types.Bool `json:"showrivers,omitempty"` + Showrivers types.BoolType `json:"showrivers,omitempty"` // Showsubunits // arrayOK: false // type: boolean // Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. - Showsubunits types.Bool `json:"showsubunits,omitempty"` + Showsubunits types.BoolType `json:"showsubunits,omitempty"` // Subunitcolor // arrayOK: false @@ -1818,7 +1818,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the subunits boundaries. - Subunitwidth float64 `json:"subunitwidth,omitempty"` + Subunitwidth types.NumberType `json:"subunitwidth,omitempty"` // Uirevision // arrayOK: false @@ -1830,7 +1830,7 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets the default visibility of the base layers. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutGridDomain @@ -1856,7 +1856,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of columns in the grid. If you provide a 2D `subplots` array, the length of its longest row is used as the default. If you give an `xaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Columns int64 `json:"columns,omitempty"` + Columns types.IntegerType `json:"columns,omitempty"` // Domain // arrayOK: false @@ -1881,7 +1881,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of rows in the grid. If you provide a 2D `subplots` array or a `yaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Rows int64 `json:"rows,omitempty"` + Rows types.IntegerType `json:"rows,omitempty"` // Subplots // arrayOK: false @@ -1899,7 +1899,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Horizontal space between grid cells, expressed as a fraction of the total width available to one cell. Defaults to 0.1 for coupled-axes grids and 0.2 for independent grids. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xside // arrayOK: false @@ -1918,7 +1918,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Vertical space between grid cells, expressed as a fraction of the total height available to one cell. Defaults to 0.1 for coupled-axes grids and 0.3 for independent grids. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yside // arrayOK: false @@ -1941,13 +1941,13 @@ type LayoutHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutHoverlabelGrouptitlefont Sets the font for group titles in hover (unified modes). Defaults to `hoverlabel.font`. @@ -1963,13 +1963,13 @@ type LayoutHoverlabelGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutHoverlabel @@ -2008,7 +2008,7 @@ type LayoutHoverlabel struct { // arrayOK: false // 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. - Namelength int64 `json:"namelength,omitempty"` + Namelength types.IntegerType `json:"namelength,omitempty"` } // LayoutImage @@ -2025,25 +2025,25 @@ type LayoutImage struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the image. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizex // arrayOK: false // type: number // Sets the image container size horizontally. The image will be sized based on the `position` value. When `xref` is set to `paper`, units are sized relative to the plot width. When `xref` ends with ` domain`, units are sized relative to the axis width. - Sizex float64 `json:"sizex,omitempty"` + Sizex types.NumberType `json:"sizex,omitempty"` // Sizey // arrayOK: false // type: number // Sets the image container size vertically. The image will be sized based on the `position` value. When `yref` is set to `paper`, units are sized relative to the plot height. When `yref` ends with ` domain`, units are sized relative to the axis height. - Sizey float64 `json:"sizey,omitempty"` + Sizey types.NumberType `json:"sizey,omitempty"` // Sizing // arrayOK: false @@ -2056,19 +2056,19 @@ type LayoutImage struct { // arrayOK: false // type: string // Specifies the URL of the image to be used. The URL must be accessible from the domain where the plot code is run, and can be either relative or absolute. - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this image is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false @@ -2124,13 +2124,13 @@ type LayoutLegendFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendGrouptitlefont Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%. @@ -2146,13 +2146,13 @@ type LayoutLegendGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendTitleFont Sets this legend's title font. Defaults to `legend.font` with its size increased about 20%. @@ -2168,13 +2168,13 @@ type LayoutLegendTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutLegendTitle @@ -2196,7 +2196,7 @@ type LayoutLegendTitle struct { // arrayOK: false // type: string // Sets the title of the legend. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutLegend @@ -2218,13 +2218,13 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the legend. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Entrywidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to *pixels*. - Entrywidth float64 `json:"entrywidth,omitempty"` + Entrywidth types.NumberType `json:"entrywidth,omitempty"` // Entrywidthmode // arrayOK: false @@ -2254,7 +2254,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the indentation (in px) of the legend entries. - Indentation float64 `json:"indentation,omitempty"` + Indentation types.NumberType `json:"indentation,omitempty"` // Itemclick // arrayOK: false @@ -2281,7 +2281,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the legend item symbols (the part other than the title.text). - Itemwidth float64 `json:"itemwidth,omitempty"` + Itemwidth types.NumberType `json:"itemwidth,omitempty"` // Orientation // arrayOK: false @@ -2299,7 +2299,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the amount of vertical space (in px) between legend groups. - Tracegroupgap float64 `json:"tracegroupgap,omitempty"` + Tracegroupgap types.NumberType `json:"tracegroupgap,omitempty"` // Traceorder // arrayOK: false @@ -2325,13 +2325,13 @@ type LayoutLegend struct { // arrayOK: false // type: boolean // Determines whether or not this legend is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position with respect to `xref` (in normalized coordinates) of the legend. When `xref` is *paper*, defaults to *1.02* for vertical legends and defaults to *0* for horizontal legends. When `xref` is *container*, defaults to *1* for vertical legends and defaults to *0* for horizontal legends. Must be between *0* and *1* if `xref` is *container*. and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -2351,7 +2351,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` (in normalized coordinates) of the legend. When `yref` is *paper*, defaults to *1* for vertical legends, defaults to *-0.1* for horizontal legends on graphs w/o range sliders and defaults to *1.1* for horizontal legends on graph with one or multiple range sliders. When `yref` is *container*, defaults to *1*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -2375,25 +2375,25 @@ type LayoutMapboxBounds struct { // arrayOK: false // type: number // Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared. - East float64 `json:"east,omitempty"` + East types.NumberType `json:"east,omitempty"` // North // arrayOK: false // type: number // Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared. - North float64 `json:"north,omitempty"` + North types.NumberType `json:"north,omitempty"` // South // arrayOK: false // type: number // Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared. - South float64 `json:"south,omitempty"` + South types.NumberType `json:"south,omitempty"` // West // arrayOK: false // type: number // Sets the minimum longitude of the map (in degrees East) if `east`, `south` and `north` are declared. - West float64 `json:"west,omitempty"` + West types.NumberType `json:"west,omitempty"` } // LayoutMapboxCenter @@ -2403,13 +2403,13 @@ type LayoutMapboxCenter struct { // arrayOK: false // type: number // Sets the latitude of the center of the map (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the center of the map (in degrees East). - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutMapboxDomain @@ -2419,13 +2419,13 @@ type LayoutMapboxDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this mapbox subplot . - Column int64 `json:"column,omitempty"` + 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 mapbox subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -2447,7 +2447,7 @@ type LayerCircle struct { // arrayOK: false // type: number // Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*. - Radius float64 `json:"radius,omitempty"` + Radius types.NumberType `json:"radius,omitempty"` } // LayerFill @@ -2475,13 +2475,13 @@ type LayerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `dash`. - Dashsrc types.String `json:"dashsrc,omitempty"` + Dashsrc types.StringType `json:"dashsrc,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (mapbox.layer.paint.line-width). Has an effect only when `type` is set to *line*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayerSymbolTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -2497,13 +2497,13 @@ type LayerSymbolTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayerSymbol @@ -2513,13 +2513,13 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol icon image (mapbox.layer.layout.icon-image). Full list: https://www.mapbox.com/maki-icons/ - Icon types.String `json:"icon,omitempty"` + Icon types.StringType `json:"icon,omitempty"` // Iconsize // arrayOK: false // type: number // Sets the symbol icon size (mapbox.layer.layout.icon-size). Has an effect only when `type` is set to *symbol*. - Iconsize float64 `json:"iconsize,omitempty"` + Iconsize types.NumberType `json:"iconsize,omitempty"` // Placement // arrayOK: false @@ -2532,7 +2532,7 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol text (mapbox.layer.layout.text-field). - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textfont // arrayOK: false @@ -2554,7 +2554,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Determines if the layer will be inserted before the layer with the specified ID. If omitted or set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Circle // arrayOK: false @@ -2587,25 +2587,25 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: number // Sets the maximum zoom level (mapbox.layer.maxzoom). At zoom levels equal to or greater than the maxzoom, the layer will be hidden. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Minzoom // arrayOK: false // type: number // Sets the minimum zoom level (mapbox.layer.minzoom). At zoom levels less than the minzoom, the layer will be hidden. - Minzoom float64 `json:"minzoom,omitempty"` + Minzoom types.NumberType `json:"minzoom,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the layer. If `type` is *circle*, opacity corresponds to the circle opacity (mapbox.layer.paint.circle-opacity) If `type` is *line*, opacity corresponds to the line opacity (mapbox.layer.paint.line-opacity) If `type` is *fill*, opacity corresponds to the fill opacity (mapbox.layer.paint.fill-opacity) If `type` is *symbol*, opacity corresponds to the icon/text opacity (mapbox.layer.paint.text-opacity) - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false @@ -2617,13 +2617,13 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Sets the attribution for this source. - Sourceattribution types.String `json:"sourceattribution,omitempty"` + Sourceattribution types.StringType `json:"sourceattribution,omitempty"` // Sourcelayer // arrayOK: false // type: string // Specifies the layer to use from a vector tile source (mapbox.layer.source-layer). Required for *vector* source type that supports multiple layers. - Sourcelayer types.String `json:"sourcelayer,omitempty"` + Sourcelayer types.StringType `json:"sourcelayer,omitempty"` // Sourcetype // arrayOK: false @@ -2641,7 +2641,7 @@ type LayoutMapboxLayer struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -2654,7 +2654,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: boolean // Determines whether this layer is displayed - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutMapbox @@ -2664,13 +2664,13 @@ type LayoutMapbox struct { // arrayOK: false // type: string // Sets the mapbox access token to be used for this mapbox map. Alternatively, the mapbox access token can be set in the configuration options under `mapboxAccessToken`. Note that accessToken are only required when `style` (e.g with values : basic, streets, outdoors, light, dark, satellite, satellite-streets ) and/or a layout layer references the Mapbox server. - Accesstoken types.String `json:"accesstoken,omitempty"` + Accesstoken types.StringType `json:"accesstoken,omitempty"` // Bearing // arrayOK: false // type: number // Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing). - Bearing float64 `json:"bearing,omitempty"` + Bearing types.NumberType `json:"bearing,omitempty"` // Bounds // arrayOK: false @@ -2696,7 +2696,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the pitch angle of the map (in degrees, where *0* means perpendicular to the surface of the map) (mapbox.pitch). - Pitch float64 `json:"pitch,omitempty"` + Pitch types.NumberType `json:"pitch,omitempty"` // Style // arrayOK: false @@ -2714,7 +2714,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the zoom level of the map (mapbox.zoom). - Zoom float64 `json:"zoom,omitempty"` + Zoom types.NumberType `json:"zoom,omitempty"` } // LayoutMargin @@ -2724,37 +2724,37 @@ type LayoutMargin struct { // arrayOK: false // type: boolean // Turns on/off margin expansion computations. Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider are allowed to push the margins by defaults. - Autoexpand types.Bool `json:"autoexpand,omitempty"` + Autoexpand types.BoolType `json:"autoexpand,omitempty"` // B // arrayOK: false // type: number // Sets the bottom margin (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the left margin (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // Pad // arrayOK: false // type: number // Sets the amount of padding (in px) between the plotting area and the axis lines - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // R // arrayOK: false // type: number // Sets the right margin (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the top margin (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutModebar @@ -2770,13 +2770,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to add. Please note that these buttons will only be shown if they are compatible with all trace types used in a graph. Similar to `config.modeBarButtonsToAdd` option. This may include *v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*, *drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect*, *eraseshape*. - Add *types.ArrayOK[*types.String] `json:"add,omitempty"` + Add *types.ArrayOK[*types.StringType] `json:"add,omitempty"` // Addsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `add`. - Addsrc types.String `json:"addsrc,omitempty"` + Addsrc types.StringType `json:"addsrc,omitempty"` // Bgcolor // arrayOK: false @@ -2801,13 +2801,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to remove. Similar to `config.modeBarButtonsToRemove` option. This may include *autoScale2d*, *autoscale*, *editInChartStudio*, *editinchartstudio*, *hoverCompareCartesian*, *hovercompare*, *lasso*, *lasso2d*, *orbitRotation*, *orbitrotation*, *pan*, *pan2d*, *pan3d*, *reset*, *resetCameraDefault3d*, *resetCameraLastSave3d*, *resetGeo*, *resetSankeyGroup*, *resetScale2d*, *resetViewMapbox*, *resetViews*, *resetcameradefault*, *resetcameralastsave*, *resetsankeygroup*, *resetscale*, *resetview*, *resetviews*, *select*, *select2d*, *sendDataToCloud*, *senddatatocloud*, *tableRotation*, *tablerotation*, *toImage*, *toggleHover*, *toggleSpikelines*, *togglehover*, *togglespikelines*, *toimage*, *zoom*, *zoom2d*, *zoom3d*, *zoomIn2d*, *zoomInGeo*, *zoomInMapbox*, *zoomOut2d*, *zoomOutGeo*, *zoomOutMapbox*, *zoomin*, *zoomout*. - Remove *types.ArrayOK[*types.String] `json:"remove,omitempty"` + Remove *types.ArrayOK[*types.StringType] `json:"remove,omitempty"` // Removesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `remove`. - Removesrc types.String `json:"removesrc,omitempty"` + Removesrc types.StringType `json:"removesrc,omitempty"` // Uirevision // arrayOK: false @@ -2829,13 +2829,13 @@ type LayoutNewselectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewselection @@ -2867,13 +2867,13 @@ type LayoutNewshapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutNewshapeLabel @@ -2888,19 +2888,19 @@ type LayoutNewshapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of new shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with the new shape. It is also used for legend item if `name` is not provided. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -2913,7 +2913,7 @@ type LayoutNewshapeLabel struct { // arrayOK: false // type: string // Template string used for rendering the new shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Xanchor // arrayOK: false @@ -2943,13 +2943,13 @@ type LayoutNewshapeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutNewshapeLegendgrouptitle @@ -2964,7 +2964,7 @@ type LayoutNewshapeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutNewshapeLine @@ -2980,13 +2980,13 @@ type LayoutNewshapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewshape @@ -3028,13 +3028,13 @@ type LayoutNewshape struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show new shape in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for new shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -3045,13 +3045,13 @@ type LayoutNewshape struct { // arrayOK: false // type: number // Sets the legend rank for new shape. 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for new shape. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -3062,19 +3062,19 @@ type LayoutNewshape struct { // arrayOK: false // type: string // Sets new shape name. The name appears as the legend item. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of new shapes. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not new shape is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Visible // arrayOK: false @@ -3097,13 +3097,13 @@ type LayoutPolarAngularaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarAngularaxisTickformatstop @@ -3119,25 +3119,25 @@ type LayoutPolarAngularaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarAngularaxis @@ -3162,7 +3162,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -3207,19 +3207,19 @@ type LayoutPolarAngularaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -3244,37 +3244,37 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Period // arrayOK: false // type: number // Set the angular period. Has an effect only when `angularaxis.type` is *category*. - Period float64 `json:"period,omitempty"` + Period types.NumberType `json:"period,omitempty"` // Rotation // arrayOK: false // type: angle // Sets that start position (in degrees) of the angular axis By default, polar subplots with `direction` set to *counterclockwise* get a `rotation` of *0* which corresponds to due East (like what mathematicians prefer). In turn, polar with `direction` set to *clockwise* get a rotation of *90* which corresponds to due North (like on a compass), - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -3287,19 +3287,19 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -3332,7 +3332,7 @@ type LayoutPolarAngularaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -3349,7 +3349,7 @@ type LayoutPolarAngularaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -3360,13 +3360,13 @@ type LayoutPolarAngularaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -3379,7 +3379,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -3392,7 +3392,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -3406,7 +3406,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -3420,13 +3420,13 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Type // arrayOK: false @@ -3445,7 +3445,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolarDomain @@ -3455,13 +3455,13 @@ type LayoutPolarDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this polar subplot . - Column int64 `json:"column,omitempty"` + 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 polar subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -3501,7 +3501,7 @@ type LayoutPolarRadialaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -3529,13 +3529,13 @@ type LayoutPolarRadialaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarRadialaxisTickformatstop @@ -3551,25 +3551,25 @@ type LayoutPolarRadialaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarRadialaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -3585,13 +3585,13 @@ type LayoutPolarRadialaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutPolarRadialaxisTitle @@ -3606,7 +3606,7 @@ type LayoutPolarRadialaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutPolarRadialaxis @@ -3616,7 +3616,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: angle // Sets the angle (in degrees) from which the radial axis is drawn. Note that by default, radial axis line on the theta=0 line corresponds to a line pointing right (like what mathematicians prefer). Defaults to the first `polar.sector` angle. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Autorange // arrayOK: false @@ -3662,7 +3662,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -3700,19 +3700,19 @@ type LayoutPolarRadialaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -3737,7 +3737,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -3755,13 +3755,13 @@ type LayoutPolarRadialaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -3780,7 +3780,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -3793,19 +3793,19 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -3838,7 +3838,7 @@ type LayoutPolarRadialaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -3855,7 +3855,7 @@ type LayoutPolarRadialaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -3866,13 +3866,13 @@ type LayoutPolarRadialaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -3885,7 +3885,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -3898,7 +3898,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -3912,7 +3912,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -3926,13 +3926,13 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -3956,7 +3956,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolar @@ -3989,7 +3989,7 @@ type LayoutPolar struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the polar subplot. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Radialaxis // arrayOK: false @@ -4029,7 +4029,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -4042,25 +4042,25 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false // type: number // Sets the x component of the arrow tail about the arrow head (in pixels). - Ax float64 `json:"ax,omitempty"` + Ax types.NumberType `json:"ax,omitempty"` // Ay // arrayOK: false // type: number // Sets the y component of the arrow tail about the arrow head (in pixels). - Ay float64 `json:"ay,omitempty"` + Ay types.NumberType `json:"ay,omitempty"` // Bgcolor // arrayOK: false @@ -4078,19 +4078,19 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Font // arrayOK: false @@ -4101,7 +4101,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -4112,67 +4112,67 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -4185,13 +4185,13 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -4210,7 +4210,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -4229,7 +4229,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` // Z // arrayOK: false @@ -4245,19 +4245,19 @@ type LayoutSceneAspectratio struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraCenter Sets the (x,y,z) components of the 'center' camera vector This vector determines the translation (x,y,z) space about the center of this scene. By default, there is no such translation. @@ -4267,19 +4267,19 @@ type LayoutSceneCameraCenter struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraEye Sets the (x,y,z) components of the 'eye' camera vector. This vector determines the view point about the origin of this scene. @@ -4289,19 +4289,19 @@ type LayoutSceneCameraEye struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraProjection @@ -4322,19 +4322,19 @@ type LayoutSceneCameraUp struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCamera @@ -4368,13 +4368,13 @@ type LayoutSceneDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this scene subplot . - Column int64 `json:"column,omitempty"` + 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 scene subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -4414,7 +4414,7 @@ type LayoutSceneXaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -4442,13 +4442,13 @@ type LayoutSceneXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneXaxisTickformatstop @@ -4464,25 +4464,25 @@ type LayoutSceneXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -4498,13 +4498,13 @@ type LayoutSceneXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneXaxisTitle @@ -4519,7 +4519,7 @@ type LayoutSceneXaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneXaxis @@ -4569,7 +4569,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -4607,13 +4607,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -4631,7 +4631,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -4649,7 +4649,7 @@ type LayoutSceneXaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -4662,7 +4662,7 @@ type LayoutSceneXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -4681,19 +4681,19 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -4706,25 +4706,25 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -4750,13 +4750,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -4768,7 +4768,7 @@ type LayoutSceneXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -4785,7 +4785,7 @@ type LayoutSceneXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -4796,7 +4796,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -4809,7 +4809,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -4822,7 +4822,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -4836,7 +4836,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -4850,13 +4850,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -4874,13 +4874,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -4892,7 +4892,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneYaxisAutorangeoptions @@ -4920,7 +4920,7 @@ type LayoutSceneYaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -4948,13 +4948,13 @@ type LayoutSceneYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneYaxisTickformatstop @@ -4970,25 +4970,25 @@ type LayoutSceneYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -5004,13 +5004,13 @@ type LayoutSceneYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneYaxisTitle @@ -5025,7 +5025,7 @@ type LayoutSceneYaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneYaxis @@ -5075,7 +5075,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -5113,13 +5113,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -5137,7 +5137,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -5155,7 +5155,7 @@ type LayoutSceneYaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -5168,7 +5168,7 @@ type LayoutSceneYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -5187,19 +5187,19 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -5212,25 +5212,25 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -5256,13 +5256,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -5274,7 +5274,7 @@ type LayoutSceneYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -5291,7 +5291,7 @@ type LayoutSceneYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -5302,7 +5302,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -5315,7 +5315,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -5328,7 +5328,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -5342,7 +5342,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -5356,13 +5356,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -5380,13 +5380,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -5398,7 +5398,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneZaxisAutorangeoptions @@ -5426,7 +5426,7 @@ type LayoutSceneZaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -5454,13 +5454,13 @@ type LayoutSceneZaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneZaxisTickformatstop @@ -5476,25 +5476,25 @@ type LayoutSceneZaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneZaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -5510,13 +5510,13 @@ type LayoutSceneZaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSceneZaxisTitle @@ -5531,7 +5531,7 @@ type LayoutSceneZaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneZaxis @@ -5581,7 +5581,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -5619,13 +5619,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -5643,7 +5643,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -5661,7 +5661,7 @@ type LayoutSceneZaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -5674,7 +5674,7 @@ type LayoutSceneZaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -5693,19 +5693,19 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -5718,25 +5718,25 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -5762,13 +5762,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -5780,7 +5780,7 @@ type LayoutSceneZaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -5797,7 +5797,7 @@ type LayoutSceneZaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -5808,7 +5808,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -5821,7 +5821,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -5834,7 +5834,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -5848,7 +5848,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -5862,13 +5862,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -5886,13 +5886,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -5904,7 +5904,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutScene @@ -5992,13 +5992,13 @@ type SelectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutSelection @@ -6013,25 +6013,25 @@ type LayoutSelection struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path similar to `shapes.path` in data coordinates. Allowed segments are: M, L and Z. - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -6092,13 +6092,13 @@ type ShapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ShapeLabel @@ -6113,19 +6113,19 @@ type ShapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with shape. It is also used for legend item if `name` is not provided. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -6138,7 +6138,7 @@ type ShapeLabel struct { // arrayOK: false // type: string // Template string used for rendering the shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Xanchor // arrayOK: false @@ -6168,13 +6168,13 @@ type ShapeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ShapeLegendgrouptitle @@ -6189,7 +6189,7 @@ type ShapeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ShapeLine @@ -6205,13 +6205,13 @@ type ShapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutShape @@ -6221,7 +6221,7 @@ type LayoutShape struct { // arrayOK: false // type: boolean // Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Fillcolor // arrayOK: false @@ -6252,13 +6252,13 @@ type LayoutShape struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this shape in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -6269,13 +6269,13 @@ type LayoutShape struct { // arrayOK: false // type: number // Sets the legend rank for this shape. 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this shape. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -6286,31 +6286,31 @@ type LayoutShape struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path with the pixel values replaced by data values in `xsizemode`/`ysizemode` being *scaled* and taken unmodified as pixels relative to `xanchor` and `yanchor` in case of *pixel* size mode. There are a few restrictions / quirks only absolute instructions, not relative. So the allowed segments are: M, L, H, V, Q, C, T, S, and Z arcs (A) are not allowed because radius rx and ry are relative. In the future we could consider supporting relative commands, but we would have to decide on how to handle date and log axes. Note that even as is, Q and C Bezier paths that are smooth on linear axes may not be smooth on log, and vice versa. no chained "polybezier" commands - specify the segment type for each one. On category axes, values are numbers scaled to the serial numbers of categories because using the categories themselves there would be no way to describe fractional positions On data axes: because space and T are both normal components of path strings, we can't use either to separate date from time parts. Therefore we'll use underscore for this purpose: 2015-02-21_13:45:56.789 - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not this shape is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -6404,13 +6404,13 @@ type SliderCurrentvalueFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SliderCurrentvalue @@ -6425,25 +6425,25 @@ type SliderCurrentvalue struct { // arrayOK: false // type: number // The amount of space, in pixels, between the current value label and the slider. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Prefix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the prefix of the label. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the suffix of the label. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Visible // arrayOK: false // type: boolean // Shows the currently-selected value above the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Xanchor // arrayOK: false @@ -6466,13 +6466,13 @@ type SliderFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SliderPad Set the padding of the slider component along each side. @@ -6482,25 +6482,25 @@ type SliderPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // SliderStep @@ -6516,13 +6516,13 @@ type SliderStep struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_sliderchange` method and executing the API command manually without losing the benefit of the slider automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the slider - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -6535,25 +6535,25 @@ type SliderStep struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // Sets the value of the slider step, used to refer to the step programatically. Defaults to the slider label if not provided. - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this step is included in the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SliderTransition @@ -6563,7 +6563,7 @@ type SliderTransition struct { // arrayOK: false // type: number // Sets the duration of the slider transition - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -6580,7 +6580,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Determines which button (by index starting from 0) is considered active. - Active float64 `json:"active,omitempty"` + Active types.NumberType `json:"active,omitempty"` // Activebgcolor // arrayOK: false @@ -6604,7 +6604,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the slider. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Currentvalue // arrayOK: false @@ -6620,7 +6620,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length of the slider This measure excludes the padding of both ends. That is, the slider's length is this length minus the padding on both ends. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -6633,13 +6633,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of minor step tick marks - Minorticklen float64 `json:"minorticklen,omitempty"` + Minorticklen types.NumberType `json:"minorticklen,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -6655,7 +6655,7 @@ type LayoutSlider struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Tickcolor // arrayOK: false @@ -6667,13 +6667,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of step tick marks - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transition // arrayOK: false @@ -6684,13 +6684,13 @@ type LayoutSlider struct { // arrayOK: false // type: boolean // Determines whether or not the slider is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the slider. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -6703,7 +6703,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the slider. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -6720,13 +6720,13 @@ type LayoutSmithDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this smith subplot . - Column int64 `json:"column,omitempty"` + 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 smith subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -6754,13 +6754,13 @@ type LayoutSmithImaginaryaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSmithImaginaryaxis @@ -6782,19 +6782,19 @@ type LayoutSmithImaginaryaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -6819,25 +6819,25 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -6868,19 +6868,19 @@ type LayoutSmithImaginaryaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -6893,7 +6893,7 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -6907,19 +6907,19 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmithRealaxisTickfont Sets the tick font. @@ -6935,13 +6935,13 @@ type LayoutSmithRealaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutSmithRealaxis @@ -6963,19 +6963,19 @@ type LayoutSmithRealaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7000,25 +7000,25 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7045,7 +7045,7 @@ type LayoutSmithRealaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7062,19 +7062,19 @@ type LayoutSmithRealaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7087,7 +7087,7 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -7101,19 +7101,19 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmith @@ -7154,13 +7154,13 @@ type LayoutTernaryAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryAaxisTickformatstop @@ -7176,25 +7176,25 @@ type LayoutTernaryAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryAaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7210,13 +7210,13 @@ type LayoutTernaryAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryAaxisTitle @@ -7231,7 +7231,7 @@ type LayoutTernaryAaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryAaxis @@ -7266,19 +7266,19 @@ type LayoutTernaryAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7303,31 +7303,31 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -7340,19 +7340,19 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7378,7 +7378,7 @@ type LayoutTernaryAaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7395,7 +7395,7 @@ type LayoutTernaryAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -7406,13 +7406,13 @@ type LayoutTernaryAaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -7425,7 +7425,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7438,7 +7438,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -7452,7 +7452,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -7466,13 +7466,13 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -7499,13 +7499,13 @@ type LayoutTernaryBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryBaxisTickformatstop @@ -7521,25 +7521,25 @@ type LayoutTernaryBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryBaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7555,13 +7555,13 @@ type LayoutTernaryBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryBaxisTitle @@ -7576,7 +7576,7 @@ type LayoutTernaryBaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryBaxis @@ -7611,19 +7611,19 @@ type LayoutTernaryBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7648,31 +7648,31 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -7685,19 +7685,19 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7723,7 +7723,7 @@ type LayoutTernaryBaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -7740,7 +7740,7 @@ type LayoutTernaryBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -7751,13 +7751,13 @@ type LayoutTernaryBaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -7770,7 +7770,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7783,7 +7783,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -7797,7 +7797,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -7811,13 +7811,13 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -7844,13 +7844,13 @@ type LayoutTernaryCaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryCaxisTickformatstop @@ -7866,25 +7866,25 @@ type LayoutTernaryCaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryCaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -7900,13 +7900,13 @@ type LayoutTernaryCaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTernaryCaxisTitle @@ -7921,7 +7921,7 @@ type LayoutTernaryCaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryCaxis @@ -7956,19 +7956,19 @@ type LayoutTernaryCaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7993,31 +7993,31 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -8030,19 +8030,19 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -8068,7 +8068,7 @@ type LayoutTernaryCaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -8085,7 +8085,7 @@ type LayoutTernaryCaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -8096,13 +8096,13 @@ type LayoutTernaryCaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -8115,7 +8115,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -8128,7 +8128,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -8142,7 +8142,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -8156,13 +8156,13 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -8183,13 +8183,13 @@ type LayoutTernaryDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this ternary subplot . - Column int64 `json:"column,omitempty"` + 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 ternary subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -8237,7 +8237,7 @@ type LayoutTernary struct { // arrayOK: false // type: number // The number each triplet should sum to, and the maximum range of each axis - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Uirevision // arrayOK: false @@ -8259,13 +8259,13 @@ type LayoutTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutTitlePad Sets the padding of the title. Each padding value only applies when the corresponding `xanchor`/`yanchor` value is set accordingly. E.g. for left padding to take effect, `xanchor` must be set to *left*. The same rule applies if `xanchor`/`yanchor` is determined automatically. Padding is muted if the respective anchor value is *middle*/*center*. @@ -8275,25 +8275,25 @@ type LayoutTitlePad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutTitle @@ -8303,7 +8303,7 @@ type LayoutTitle struct { // arrayOK: false // type: boolean // Determines whether the title can automatically push the figure margins. If `yref='paper'` then the margin will expand to ensure that the title doesn’t overlap with the edges of the container. If `yref='container'` then the margins will ensure that the title doesn’t overlap with the plot area, tick labels, and axis titles. If `automargin=true` and the margins need to be expanded, then y will be set to a default 1 and yanchor will be set to an appropriate default to ensure that minimal margin space is needed. Note that when `yref='paper'`, only 1 or 0 are allowed y values. Invalid values will be reset to the default 1. - Automargin types.Bool `json:"automargin,omitempty"` + Automargin types.BoolType `json:"automargin,omitempty"` // Font // arrayOK: false @@ -8319,13 +8319,13 @@ type LayoutTitle struct { // arrayOK: false // type: string // Sets the plot's title. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // X // arrayOK: false // type: number // Sets the x position with respect to `xref` in normalized coordinates from *0* (left) to *1* (right). - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8345,7 +8345,7 @@ type LayoutTitle struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` in normalized coordinates from *0* (bottom) to *1* (top). *auto* places the baseline of the title onto the vertical center of the top margin. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8369,7 +8369,7 @@ type LayoutTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -8393,7 +8393,7 @@ type LayoutUniformtext struct { // arrayOK: false // type: number // Sets the minimum text size between traces of the same type. - Minsize float64 `json:"minsize,omitempty"` + Minsize types.NumberType `json:"minsize,omitempty"` // Mode // arrayOK: false @@ -8422,13 +8422,13 @@ type UpdatemenuButton struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_buttonclicked` method and executing the API command manually without losing the benefit of the updatemenu automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -8441,19 +8441,19 @@ type UpdatemenuButton struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // UpdatemenuFont Sets the font of the update menu button text. @@ -8469,13 +8469,13 @@ type UpdatemenuFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // UpdatemenuPad Sets the padding around the buttons or dropdown menu. @@ -8485,25 +8485,25 @@ type UpdatemenuPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutUpdatemenu @@ -8513,7 +8513,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: integer // Determines which button (by index starting from 0) is considered active. - Active int64 `json:"active,omitempty"` + Active types.IntegerType `json:"active,omitempty"` // Bgcolor // arrayOK: false @@ -8531,7 +8531,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the update menu. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -8554,7 +8554,7 @@ type LayoutUpdatemenu struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -8565,13 +8565,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Highlights active dropdown item or active button if true. - Showactive types.Bool `json:"showactive,omitempty"` + Showactive types.BoolType `json:"showactive,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -8584,13 +8584,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Determines whether or not the update menu is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the update menu. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8603,7 +8603,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the update menu. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8638,7 +8638,7 @@ type LayoutXaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -8672,25 +8672,25 @@ type LayoutXaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -8708,7 +8708,7 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -8736,13 +8736,13 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutXaxisRangebreak @@ -8758,19 +8758,19 @@ type LayoutXaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -8783,7 +8783,7 @@ type LayoutXaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -8799,19 +8799,19 @@ type LayoutXaxisRangeselectorButton struct { // arrayOK: false // type: number // Sets the number of steps to take to update the range. Use with `step` to specify the update interval. - Count float64 `json:"count,omitempty"` + Count types.NumberType `json:"count,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Step // arrayOK: false @@ -8831,13 +8831,13 @@ type LayoutXaxisRangeselectorButton struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutXaxisRangeselectorFont Sets the font of the range selector button text. @@ -8853,13 +8853,13 @@ type LayoutXaxisRangeselectorFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisRangeselector @@ -8887,7 +8887,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the range selector. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -8903,13 +8903,13 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: boolean // Determines whether or not this range selector is visible. Note that range selectors are only available for x axes of `type` set to or auto-typed to *date*. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the range selector. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -8922,7 +8922,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the range selector. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -8956,7 +8956,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: boolean // Determines whether or not the range slider range is computed in relation to the input data. If `range` is provided, then `autorange` is set to *false*. - Autorange types.Bool `json:"autorange,omitempty"` + Autorange types.BoolType `json:"autorange,omitempty"` // Bgcolor // arrayOK: false @@ -8974,7 +8974,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: integer // Sets the border width of the range slider. - Borderwidth int64 `json:"borderwidth,omitempty"` + Borderwidth types.IntegerType `json:"borderwidth,omitempty"` // Range // arrayOK: false @@ -8986,13 +8986,13 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: number // The height of the range slider as a fraction of the total plot area height. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not the range slider will be visible. If visible, perpendicular axes will be set to `fixedrange` - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Yaxis // arrayOK: false @@ -9013,13 +9013,13 @@ type LayoutXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisTickformatstop @@ -9035,25 +9035,25 @@ type LayoutXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -9069,13 +9069,13 @@ type LayoutXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutXaxisTitle @@ -9090,13 +9090,13 @@ type LayoutXaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutXaxis @@ -9160,7 +9160,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -9199,7 +9199,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -9224,7 +9224,7 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -9236,19 +9236,19 @@ type LayoutXaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Insiderange // arrayOK: false @@ -9279,7 +9279,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -9304,7 +9304,7 @@ type LayoutXaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -9322,7 +9322,7 @@ type LayoutXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -9335,7 +9335,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -9376,19 +9376,19 @@ type LayoutXaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -9401,25 +9401,25 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -9452,7 +9452,7 @@ type LayoutXaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -9472,7 +9472,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -9484,7 +9484,7 @@ type LayoutXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -9501,7 +9501,7 @@ type LayoutXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -9533,13 +9533,13 @@ type LayoutXaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9552,7 +9552,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -9572,7 +9572,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -9586,7 +9586,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -9600,13 +9600,13 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -9630,13 +9630,13 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -9648,7 +9648,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutYaxisAutorangeoptions @@ -9676,7 +9676,7 @@ type LayoutYaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -9710,25 +9710,25 @@ type LayoutYaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -9746,7 +9746,7 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9774,13 +9774,13 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutYaxisRangebreak @@ -9796,19 +9796,19 @@ type LayoutYaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -9821,7 +9821,7 @@ type LayoutYaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -9843,13 +9843,13 @@ type LayoutYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutYaxisTickformatstop @@ -9865,25 +9865,25 @@ type LayoutYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -9899,13 +9899,13 @@ type LayoutYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // LayoutYaxisTitle @@ -9920,13 +9920,13 @@ type LayoutYaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutYaxis @@ -9962,7 +9962,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Automatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to true. Only has an effect if `anchor` is set to *free*. - Autoshift types.Bool `json:"autoshift,omitempty"` + Autoshift types.BoolType `json:"autoshift,omitempty"` // Autotickangles // arrayOK: false @@ -9996,7 +9996,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -10035,7 +10035,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -10060,7 +10060,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -10072,19 +10072,19 @@ type LayoutYaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Insiderange // arrayOK: false @@ -10115,7 +10115,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -10140,7 +10140,7 @@ type LayoutYaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -10158,7 +10158,7 @@ type LayoutYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -10171,7 +10171,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -10202,25 +10202,25 @@ type LayoutYaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Shift // arrayOK: false // type: number // Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to *left*. and defaults to +3 if `side` is set to *right*. Defaults to 0 if `autoshift` is set to false. Only has an effect if `anchor` is set to *free*. - Shift float64 `json:"shift,omitempty"` + Shift types.NumberType `json:"shift,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -10233,25 +10233,25 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -10284,7 +10284,7 @@ type LayoutYaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -10304,7 +10304,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -10316,7 +10316,7 @@ type LayoutYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -10333,7 +10333,7 @@ type LayoutYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -10365,13 +10365,13 @@ type LayoutYaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -10384,7 +10384,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -10404,7 +10404,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -10418,7 +10418,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -10432,13 +10432,13 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -10462,13 +10462,13 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -10480,7 +10480,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // AnnotationAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.31.1/graph_objects/mesh3d_gen.go b/generated/v2.31.1/graph_objects/mesh3d_gen.go index a725a1b..17a0041 100644 --- a/generated/v2.31.1/graph_objects/mesh3d_gen.go +++ b/generated/v2.31.1/graph_objects/mesh3d_gen.go @@ -32,37 +32,37 @@ type Mesh3d struct { // arrayOK: false // type: number // Determines how the mesh surface triangles are derived from the set of vertices (points) represented by the `x`, `y` and `z` arrays, if the `i`, `j`, `k` arrays are not supplied. For general use of `mesh3d` it is preferred that `i`, `j`, `k` are supplied. If *-1*, Delaunay triangulation is used, which is mainly suitable if the mesh is a single, more or less layer surface that is perpendicular to `delaunayaxis`. In case the `delaunayaxis` intersects the mesh surface at more than one point it will result triangles that are very long in the dimension of `delaunayaxis`. If *>0*, the alpha-shape algorithm is used. In this case, the positive `alphahull` value signals the use of the alpha-shape algorithm, _and_ its value acts as the parameter for the mesh fitting. If *0*, the convex-hull algorithm is used. It is suitable for convex bodies or if the intention is to enclose the `x`, `y` and `z` point set into a convex hull. - Alphahull float64 `json:"alphahull,omitempty"` + Alphahull types.NumberType `json:"alphahull,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `intensity`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `intensity` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `intensity`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `intensity` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: false @@ -74,7 +74,7 @@ type Mesh3d struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -104,7 +104,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delaunayaxis // arrayOK: false @@ -125,13 +125,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `facecolor`. - Facecolorsrc types.String `json:"facecolorsrc,omitempty"` + Facecolorsrc types.StringType `json:"facecolorsrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -144,7 +144,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -155,25 +155,25 @@ type Mesh3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // I // arrayOK: false @@ -195,7 +195,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Intensity // arrayOK: false @@ -216,13 +216,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `intensity`. - Intensitysrc types.String `json:"intensitysrc,omitempty"` + Intensitysrc types.StringType `json:"intensitysrc,omitempty"` // Isrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `i`. - Isrc types.String `json:"isrc,omitempty"` + Isrc types.StringType `json:"isrc,omitempty"` // J // arrayOK: false @@ -236,7 +236,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `j`. - Jsrc types.String `json:"jsrc,omitempty"` + Jsrc types.StringType `json:"jsrc,omitempty"` // K // arrayOK: false @@ -250,19 +250,19 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `k`. - Ksrc types.String `json:"ksrc,omitempty"` + Ksrc types.StringType `json:"ksrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -273,13 +273,13 @@ type Mesh3d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -301,43 +301,43 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -348,19 +348,19 @@ type Mesh3d struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -380,7 +380,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `vertexcolor`. - Vertexcolorsrc types.String `json:"vertexcolorsrc,omitempty"` + Vertexcolorsrc types.StringType `json:"vertexcolorsrc,omitempty"` // Visible // arrayOK: false @@ -408,13 +408,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -435,13 +435,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -462,13 +462,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Mesh3dColorbarTickfont Sets the color bar's tick label font @@ -484,13 +484,13 @@ type Mesh3dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dColorbarTickformatstop @@ -506,25 +506,25 @@ type Mesh3dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Mesh3dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -540,13 +540,13 @@ type Mesh3dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dColorbarTitle @@ -568,7 +568,7 @@ type Mesh3dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dColorbar @@ -590,7 +590,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -615,7 +615,7 @@ type Mesh3dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -628,13 +628,13 @@ type Mesh3dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -653,13 +653,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -672,7 +672,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -692,7 +692,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -711,7 +711,7 @@ type Mesh3dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -728,7 +728,7 @@ type Mesh3dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -753,13 +753,13 @@ type Mesh3dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -772,7 +772,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -785,7 +785,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -799,7 +799,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -813,13 +813,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -830,7 +830,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -843,7 +843,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -856,7 +856,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -869,7 +869,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -892,13 +892,13 @@ type Mesh3dContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Mesh3dHoverlabelFont Sets the font used in hover labels. @@ -914,31 +914,31 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Mesh3dHoverlabel @@ -955,7 +955,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -967,7 +967,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -979,7 +979,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -990,13 +990,13 @@ type Mesh3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Mesh3dLegendgrouptitleFont Sets this legend group's title font. @@ -1012,13 +1012,13 @@ type Mesh3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Mesh3dLegendgrouptitle @@ -1033,7 +1033,7 @@ type Mesh3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dLighting @@ -1043,43 +1043,43 @@ type Mesh3dLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // Mesh3dLightposition @@ -1089,19 +1089,19 @@ type Mesh3dLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // Mesh3dStream @@ -1111,13 +1111,13 @@ type Mesh3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Mesh3dColorbarExponentformat 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. diff --git a/generated/v2.31.1/graph_objects/ohlc_gen.go b/generated/v2.31.1/graph_objects/ohlc_gen.go index b5b7a9c..bbfe0f9 100644 --- a/generated/v2.31.1/graph_objects/ohlc_gen.go +++ b/generated/v2.31.1/graph_objects/ohlc_gen.go @@ -40,7 +40,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Ohlc struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,13 +128,13 @@ type Ohlc struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -145,13 +145,13 @@ type Ohlc struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -170,7 +170,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -182,19 +182,19 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -208,7 +208,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -220,7 +220,7 @@ type Ohlc struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -231,19 +231,19 @@ type Ohlc struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the width of the open/close tick marks relative to the *x* minimal interval. - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transforms // role: Object @@ -254,7 +254,7 @@ type Ohlc struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -281,7 +281,7 @@ type Ohlc struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -294,7 +294,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -319,25 +319,25 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // OhlcDecreasingLine @@ -353,13 +353,13 @@ type OhlcDecreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcDecreasing @@ -384,31 +384,31 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // OhlcHoverlabel @@ -425,7 +425,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -437,7 +437,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -449,7 +449,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -460,19 +460,19 @@ type OhlcHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // OhlcIncreasingLine @@ -488,13 +488,13 @@ type OhlcIncreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcIncreasing @@ -519,13 +519,13 @@ type OhlcLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // OhlcLegendgrouptitle @@ -540,7 +540,7 @@ type OhlcLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // OhlcLine @@ -550,13 +550,13 @@ type OhlcLine struct { // 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*). Note that this style setting can also be set per direction via `increasing.line.dash` and `decreasing.line.dash`. - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // [object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcStream @@ -566,13 +566,13 @@ type OhlcStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // OhlcTransform 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. diff --git a/generated/v2.31.1/graph_objects/parcats_gen.go b/generated/v2.31.1/graph_objects/parcats_gen.go index 0a559f5..eec8687 100644 --- a/generated/v2.31.1/graph_objects/parcats_gen.go +++ b/generated/v2.31.1/graph_objects/parcats_gen.go @@ -39,19 +39,19 @@ type Parcats struct { // arrayOK: false // type: boolean // Sort paths so that like colors are bundled together within each category. - Bundlecolors types.Bool `json:"bundlecolors,omitempty"` + 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 - Counts *types.ArrayOK[*float64] `json:"counts,omitempty"` + Counts *types.ArrayOK[*types.NumberType] `json:"counts,omitempty"` // Countssrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `counts`. - Countssrc types.String `json:"countssrc,omitempty"` + Countssrc types.StringType `json:"countssrc,omitempty"` // Dimensions // role: Object @@ -81,7 +81,7 @@ type Parcats struct { // 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. This value here applies when hovering over dimensions. Note that `*categorycount`, *colorcount* and *bandcolorcount* are only available when `hoveron` contains the *color* flagFinally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + Hovertemplate types.StringType `json:"hovertemplate,omitempty"` // Labelfont // arrayOK: false @@ -97,7 +97,7 @@ type Parcats struct { // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -114,13 +114,13 @@ type Parcats struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Sortpaths // arrayOK: false @@ -148,7 +148,7 @@ type Parcats struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -179,7 +179,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -192,13 +192,13 @@ type ParcatsDimension struct { // arrayOK: false // type: integer // The display index of dimension, from left to right, zero indexed, defaults to dimension index. - Displayindex int64 `json:"displayindex,omitempty"` + Displayindex types.IntegerType `json:"displayindex,omitempty"` // Label // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Ticktext // arrayOK: false @@ -212,7 +212,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Values // arrayOK: false @@ -226,13 +226,13 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcatsDomain @@ -242,13 +242,13 @@ type ParcatsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcats trace . - Column int64 `json:"column,omitempty"` + 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 . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -276,13 +276,13 @@ type ParcatsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLegendgrouptitleFont Sets this legend group's title font. @@ -298,13 +298,13 @@ type ParcatsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLegendgrouptitle @@ -319,7 +319,7 @@ type ParcatsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbarTickfont Sets the color bar's tick label font @@ -335,13 +335,13 @@ type ParcatsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLineColorbarTickformatstop @@ -357,25 +357,25 @@ type ParcatsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -391,13 +391,13 @@ type ParcatsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcatsLineColorbarTitle @@ -419,7 +419,7 @@ type ParcatsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbar @@ -441,7 +441,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -466,7 +466,7 @@ type ParcatsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -479,13 +479,13 @@ type ParcatsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -504,13 +504,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -523,7 +523,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -543,7 +543,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -562,7 +562,7 @@ type ParcatsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -579,7 +579,7 @@ type ParcatsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -604,13 +604,13 @@ type ParcatsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -623,7 +623,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -636,7 +636,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -650,7 +650,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -664,13 +664,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -681,7 +681,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -694,7 +694,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -707,7 +707,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -720,7 +720,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -737,31 +737,31 @@ type ParcatsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -773,7 +773,7 @@ type ParcatsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -790,19 +790,19 @@ type ParcatsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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. This value here applies when hovering over lines.Finally, the template string has access to variables `count` and `probability`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Shape // arrayOK: false @@ -815,7 +815,7 @@ type ParcatsLine struct { // 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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcatsStream @@ -825,13 +825,13 @@ type ParcatsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcatsTickfont Sets the font for the `category` labels. @@ -847,13 +847,13 @@ type ParcatsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + 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. diff --git a/generated/v2.31.1/graph_objects/parcoords_gen.go b/generated/v2.31.1/graph_objects/parcoords_gen.go index 78b45dd..78fe96f 100644 --- a/generated/v2.31.1/graph_objects/parcoords_gen.go +++ b/generated/v2.31.1/graph_objects/parcoords_gen.go @@ -40,7 +40,7 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dimensions // role: Object @@ -64,13 +64,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Labelangle // arrayOK: false // type: angle // Sets the angle of the labels with respect to the horizontal. For example, a `tickangle` of -90 draws the labels vertically. Tilted labels with *labelangle* may be positioned better inside margins when `labelposition` is set to *bottom*. - Labelangle float64 `json:"labelangle,omitempty"` + Labelangle types.NumberType `json:"labelangle,omitempty"` // Labelfont // arrayOK: false @@ -88,7 +88,7 @@ type Parcoords struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -99,13 +99,13 @@ type Parcoords struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -122,13 +122,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Rangefont // arrayOK: false @@ -154,7 +154,7 @@ type Parcoords struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -188,19 +188,19 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Multiselect // arrayOK: false // type: boolean // Do we allow multiple selection ranges or just a single range? - Multiselect types.Bool `json:"multiselect,omitempty"` + Multiselect types.BoolType `json:"multiselect,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -212,13 +212,13 @@ type ParcoordsDimension struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticktext // arrayOK: false @@ -232,7 +232,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -246,7 +246,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Values // arrayOK: false @@ -260,13 +260,13 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcoordsDomain @@ -276,13 +276,13 @@ type ParcoordsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcoords trace . - Column int64 `json:"column,omitempty"` + 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 parcoords trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -310,13 +310,13 @@ type ParcoordsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLegendgrouptitleFont Sets this legend group's title font. @@ -332,13 +332,13 @@ type ParcoordsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLegendgrouptitle @@ -353,7 +353,7 @@ type ParcoordsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbarTickfont Sets the color bar's tick label font @@ -369,13 +369,13 @@ type ParcoordsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLineColorbarTickformatstop @@ -391,25 +391,25 @@ type ParcoordsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ParcoordsLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -425,13 +425,13 @@ type ParcoordsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsLineColorbarTitle @@ -453,7 +453,7 @@ type ParcoordsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbar @@ -475,7 +475,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -500,7 +500,7 @@ type ParcoordsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -513,13 +513,13 @@ type ParcoordsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -538,13 +538,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -557,7 +557,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -577,7 +577,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -596,7 +596,7 @@ type ParcoordsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -613,7 +613,7 @@ type ParcoordsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -638,13 +638,13 @@ type ParcoordsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -657,7 +657,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -670,7 +670,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -684,7 +684,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -698,13 +698,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -715,7 +715,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -728,7 +728,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -741,7 +741,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -754,7 +754,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -771,31 +771,31 @@ type ParcoordsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -807,7 +807,7 @@ type ParcoordsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -824,19 +824,19 @@ type ParcoordsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcoordsRangefont Sets the font for the `dimension` range values. @@ -852,13 +852,13 @@ type ParcoordsRangefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsStream @@ -868,13 +868,13 @@ type ParcoordsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcoordsTickfont Sets the font for the `dimension` tick values. @@ -890,13 +890,13 @@ type ParcoordsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ParcoordsTransform 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. @@ -916,7 +916,7 @@ type ParcoordsUnselectedLine struct { // arrayOK: false // type: number // Sets the opacity of unselected lines. The default *auto* decreases the opacity smoothly as the number of lines increases. Use *1* to achieve exact `unselected.line.color`. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ParcoordsUnselected diff --git a/generated/v2.31.1/graph_objects/pie_gen.go b/generated/v2.31.1/graph_objects/pie_gen.go index 8522afa..38d7741 100644 --- a/generated/v2.31.1/graph_objects/pie_gen.go +++ b/generated/v2.31.1/graph_objects/pie_gen.go @@ -32,7 +32,7 @@ type Pie struct { // arrayOK: false // type: boolean // Determines whether outside text labels can push the margins. - Automargin types.Bool `json:"automargin,omitempty"` + Automargin types.BoolType `json:"automargin,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Direction // arrayOK: false @@ -59,7 +59,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -70,7 +70,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the pie. Use this to make a donut chart. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Hoverinfo // arrayOK: true @@ -83,7 +83,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Pie struct { // 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. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -144,7 +144,7 @@ type Pie struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -158,19 +158,19 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -181,13 +181,13 @@ type Pie struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -204,19 +204,19 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -227,37 +227,37 @@ type Pie struct { // arrayOK: true // type: number // Sets the fraction of larger radius to pull the sectors out from the center. This can be a constant to pull all slices apart from each other equally or an array to highlight one or more slices. - Pull *types.ArrayOK[*float64] `json:"pull,omitempty"` + Pull *types.ArrayOK[*types.NumberType] `json:"pull,omitempty"` // Pullsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `pull`. - Pullsrc types.String `json:"pullsrc,omitempty"` + Pullsrc types.StringType `json:"pullsrc,omitempty"` // Rotation // arrayOK: false // type: angle // Instead of the first slice starting at 12 o'clock, rotate to some other angle. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple pie charts that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -295,25 +295,25 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -329,7 +329,7 @@ type Pie struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -349,7 +349,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -366,13 +366,13 @@ type PieDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this pie trace . - Column int64 `json:"column,omitempty"` + 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 pie trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -400,31 +400,31 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieHoverlabel @@ -441,7 +441,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -453,7 +453,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -465,7 +465,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -476,13 +476,13 @@ type PieHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PieInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -498,31 +498,31 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieLegendgrouptitleFont Sets this legend group's title font. @@ -538,13 +538,13 @@ type PieLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // PieLegendgrouptitle @@ -559,7 +559,7 @@ type PieLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieMarkerLine @@ -575,19 +575,19 @@ type PieMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // PieMarkerPattern Sets the pattern within the marker. @@ -603,7 +603,7 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -615,13 +615,13 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -641,31 +641,31 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // PieMarker @@ -683,7 +683,7 @@ type PieMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -709,31 +709,31 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieStream @@ -743,13 +743,13 @@ type PieStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PieTextfont Sets the font used for `textinfo`. @@ -765,31 +765,31 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -805,31 +805,31 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PieTitle @@ -851,7 +851,7 @@ type PieTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieTransform 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. diff --git a/generated/v2.31.1/graph_objects/pointcloud_gen.go b/generated/v2.31.1/graph_objects/pointcloud_gen.go index 95241bf..50af194 100644 --- a/generated/v2.31.1/graph_objects/pointcloud_gen.go +++ b/generated/v2.31.1/graph_objects/pointcloud_gen.go @@ -40,7 +40,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -53,7 +53,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -72,7 +72,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Indices // arrayOK: false @@ -86,19 +86,19 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `indices`. - Indicessrc types.String `json:"indicessrc,omitempty"` + Indicessrc types.StringType `json:"indicessrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -109,13 +109,13 @@ type Pointcloud struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -132,25 +132,25 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -161,19 +161,19 @@ type Pointcloud struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -200,7 +200,7 @@ type Pointcloud struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbounds // arrayOK: false @@ -214,13 +214,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xbounds`. - Xboundssrc types.String `json:"xboundssrc,omitempty"` + Xboundssrc types.StringType `json:"xboundssrc,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xy // arrayOK: false @@ -234,7 +234,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xy`. - Xysrc types.String `json:"xysrc,omitempty"` + Xysrc types.StringType `json:"xysrc,omitempty"` // Y // arrayOK: false @@ -248,7 +248,7 @@ type Pointcloud struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybounds // arrayOK: false @@ -262,13 +262,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ybounds`. - Yboundssrc types.String `json:"yboundssrc,omitempty"` + Yboundssrc types.StringType `json:"yboundssrc,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // PointcloudHoverlabelFont Sets the font used in hover labels. @@ -284,31 +284,31 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // PointcloudHoverlabel @@ -325,7 +325,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -337,7 +337,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -349,7 +349,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -360,13 +360,13 @@ type PointcloudHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PointcloudLegendgrouptitleFont Sets this legend group's title font. @@ -382,13 +382,13 @@ type PointcloudLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // PointcloudLegendgrouptitle @@ -403,7 +403,7 @@ type PointcloudLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PointcloudMarkerBorder @@ -413,7 +413,7 @@ type PointcloudMarkerBorder struct { // arrayOK: false // type: number // Specifies what fraction of the marker area is covered with the border. - Arearatio float64 `json:"arearatio,omitempty"` + Arearatio types.NumberType `json:"arearatio,omitempty"` // Color // arrayOK: false @@ -429,7 +429,7 @@ type PointcloudMarker struct { // arrayOK: false // type: boolean // Determines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `true` reduces zoom/pan speed if used with large numbers of points. - Blend types.Bool `json:"blend,omitempty"` + Blend types.BoolType `json:"blend,omitempty"` // Border // arrayOK: false @@ -446,19 +446,19 @@ type PointcloudMarker struct { // arrayOK: false // type: number // Sets the marker opacity. The default value is `1` (fully opaque). If the markers are not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning. Opacity fades the color even if `blend` is left on `false` even if there is no translucency effect in that case. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizemax // arrayOK: false // type: number // Sets the maximum size (in px) of the rendered marker points. Effective when the `pointcloud` shows only few points. - Sizemax float64 `json:"sizemax,omitempty"` + Sizemax types.NumberType `json:"sizemax,omitempty"` // Sizemin // arrayOK: false // type: number // Sets the minimum size (in px) of the rendered marker points, effective when the `pointcloud` shows a million or more points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` } // PointcloudStream @@ -468,13 +468,13 @@ type PointcloudStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PointcloudHoverlabelAlign 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 diff --git a/generated/v2.31.1/graph_objects/sankey_gen.go b/generated/v2.31.1/graph_objects/sankey_gen.go index 26e9dcc..73b5944 100644 --- a/generated/v2.31.1/graph_objects/sankey_gen.go +++ b/generated/v2.31.1/graph_objects/sankey_gen.go @@ -47,7 +47,7 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -78,13 +78,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -95,13 +95,13 @@ type Sankey struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Link // arrayOK: false @@ -118,13 +118,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Node // arrayOK: false @@ -158,7 +158,7 @@ type Sankey struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -170,13 +170,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` // Valuesuffix // arrayOK: false // type: string // Adds a unit to follow the value in the hover tooltip. Add a space if a separation is necessary from the value. - Valuesuffix types.String `json:"valuesuffix,omitempty"` + Valuesuffix types.StringType `json:"valuesuffix,omitempty"` // Visible // arrayOK: false @@ -193,13 +193,13 @@ type SankeyDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sankey trace . - Column int64 `json:"column,omitempty"` + 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 sankey trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -227,31 +227,31 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyHoverlabel @@ -268,7 +268,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -280,7 +280,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -292,7 +292,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -303,13 +303,13 @@ type SankeyHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLegendgrouptitleFont Sets this legend group's title font. @@ -325,13 +325,13 @@ type SankeyLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SankeyLegendgrouptitle @@ -346,7 +346,7 @@ type SankeyLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SankeyLinkConcentrationscales @@ -356,13 +356,13 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: number // Sets the upper bound of the color domain. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorscale // arrayOK: false @@ -374,19 +374,19 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: string // The label of the links to color based on their concentration within a flow. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` } // SankeyLinkHoverlabelFont Sets the font used in hover labels. @@ -402,31 +402,31 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyLinkHoverlabel @@ -443,7 +443,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -455,7 +455,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -467,7 +467,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -478,13 +478,13 @@ type SankeyLinkHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLinkLine @@ -500,19 +500,19 @@ type SankeyLinkLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `link`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyLink The links of the Sankey plot. @@ -522,7 +522,7 @@ type SankeyLink struct { // arrayOK: false // type: number // Sets the length (in px) of the links arrow, if 0 no arrow will be drawn. - Arrowlen float64 `json:"arrowlen,omitempty"` + Arrowlen types.NumberType `json:"arrowlen,omitempty"` // Color // arrayOK: true @@ -539,7 +539,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -553,7 +553,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hovercolor // arrayOK: true @@ -565,7 +565,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovercolor`. - Hovercolorsrc types.String `json:"hovercolorsrc,omitempty"` + Hovercolorsrc types.StringType `json:"hovercolorsrc,omitempty"` // Hoverinfo // arrayOK: false @@ -583,13 +583,13 @@ type SankeyLink struct { // 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. Variables `source` and `target` are node objects.Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -603,7 +603,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -622,7 +622,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `source`. - Sourcesrc types.String `json:"sourcesrc,omitempty"` + Sourcesrc types.StringType `json:"sourcesrc,omitempty"` // Target // arrayOK: false @@ -636,7 +636,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `target`. - Targetsrc types.String `json:"targetsrc,omitempty"` + Targetsrc types.StringType `json:"targetsrc,omitempty"` // Value // arrayOK: false @@ -650,7 +650,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` } // SankeyNodeHoverlabelFont Sets the font used in hover labels. @@ -666,31 +666,31 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SankeyNodeHoverlabel @@ -707,7 +707,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -719,7 +719,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -731,7 +731,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -742,13 +742,13 @@ type SankeyNodeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyNodeLine @@ -764,19 +764,19 @@ type SankeyNodeLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `node`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyNode The nodes of the Sankey plot. @@ -799,7 +799,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -813,7 +813,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Groups // arrayOK: false @@ -837,13 +837,13 @@ type SankeyNode struct { // 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. Variables `sourceLinks` and `targetLinks` are arrays of link objects.Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -857,7 +857,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -868,13 +868,13 @@ type SankeyNode struct { // arrayOK: false // type: number // Sets the padding (in px) between the `nodes`. - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the `nodes`. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // X // arrayOK: false @@ -888,7 +888,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -902,7 +902,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // SankeyStream @@ -912,13 +912,13 @@ type SankeyStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SankeyTextfont Sets the font for node labels @@ -934,13 +934,13 @@ type SankeyTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SankeyArrangement If value is `snap` (the default), the node arrangement is assisted by automatic snapping of elements to preserve space between nodes specified via `nodepad`. If value is `perpendicular`, the nodes can only move along a line perpendicular to the flow. If value is `freeform`, the nodes can freely move on the plane. If value is `fixed`, the nodes are stationary. diff --git a/generated/v2.31.1/graph_objects/scatter3d_gen.go b/generated/v2.31.1/graph_objects/scatter3d_gen.go index d931ba7..535cf37 100644 --- a/generated/v2.31.1/graph_objects/scatter3d_gen.go +++ b/generated/v2.31.1/graph_objects/scatter3d_gen.go @@ -32,7 +32,7 @@ type Scatter3d struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -74,7 +74,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -85,25 +85,25 @@ type Scatter3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,19 +117,19 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -140,13 +140,13 @@ type Scatter3d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -168,7 +168,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -181,13 +181,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Projection // arrayOK: false @@ -198,13 +198,13 @@ type Scatter3d struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -228,7 +228,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -246,25 +246,25 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -275,7 +275,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -309,13 +309,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -336,13 +336,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -363,13 +363,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Scatter3dErrorX @@ -395,13 +395,13 @@ type Scatter3dErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -413,31 +413,31 @@ type Scatter3dErrorX struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -450,25 +450,25 @@ type Scatter3dErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorY @@ -494,13 +494,13 @@ type Scatter3dErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -512,31 +512,31 @@ type Scatter3dErrorY struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -549,25 +549,25 @@ type Scatter3dErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorZ @@ -593,13 +593,13 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -611,25 +611,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -642,25 +642,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dHoverlabelFont Sets the font used in hover labels. @@ -676,31 +676,31 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Scatter3dHoverlabel @@ -717,7 +717,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -729,7 +729,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -741,7 +741,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -752,13 +752,13 @@ type Scatter3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Scatter3dLegendgrouptitleFont Sets this legend group's title font. @@ -774,13 +774,13 @@ type Scatter3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLegendgrouptitle @@ -795,7 +795,7 @@ type Scatter3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbarTickfont Sets the color bar's tick label font @@ -811,13 +811,13 @@ type Scatter3dLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLineColorbarTickformatstop @@ -833,25 +833,25 @@ type Scatter3dLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -867,13 +867,13 @@ type Scatter3dLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dLineColorbarTitle @@ -895,7 +895,7 @@ type Scatter3dLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbar @@ -917,7 +917,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -942,7 +942,7 @@ type Scatter3dLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -955,13 +955,13 @@ type Scatter3dLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -980,13 +980,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -999,7 +999,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1019,7 +1019,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1038,7 +1038,7 @@ type Scatter3dLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1055,7 +1055,7 @@ type Scatter3dLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1080,13 +1080,13 @@ type Scatter3dLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1099,7 +1099,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1112,7 +1112,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1126,7 +1126,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1140,13 +1140,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1157,7 +1157,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1170,7 +1170,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1183,7 +1183,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1196,7 +1196,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1213,31 +1213,31 @@ type Scatter3dLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1249,7 +1249,7 @@ type Scatter3dLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1266,7 +1266,7 @@ type Scatter3dLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Dash // arrayOK: false @@ -1279,19 +1279,19 @@ type Scatter3dLine struct { // 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarkerColorbarTickfont Sets the color bar's tick label font @@ -1307,13 +1307,13 @@ type Scatter3dMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dMarkerColorbarTickformatstop @@ -1329,25 +1329,25 @@ type Scatter3dMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1363,13 +1363,13 @@ type Scatter3dMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // Scatter3dMarkerColorbarTitle @@ -1391,7 +1391,7 @@ type Scatter3dMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dMarkerColorbar @@ -1413,7 +1413,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1438,7 +1438,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1451,13 +1451,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1476,13 +1476,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1495,7 +1495,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1515,7 +1515,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1534,7 +1534,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1551,7 +1551,7 @@ type Scatter3dMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1576,13 +1576,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1595,7 +1595,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1608,7 +1608,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1622,7 +1622,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1636,13 +1636,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1653,7 +1653,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1666,7 +1666,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1679,7 +1679,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1692,7 +1692,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1709,31 +1709,31 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1745,7 +1745,7 @@ type Scatter3dMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1757,19 +1757,19 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarker @@ -1779,31 +1779,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1815,7 +1815,7 @@ type Scatter3dMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1832,7 +1832,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1843,31 +1843,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Sets the marker opacity. Note that the marker opacity for scatter3d traces must be a scalar value for performance reasons. To set a blending opacity value (i.e. which is not transparent), set *marker.color* to an rgba color and use its alpha channel. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1880,13 +1880,13 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1899,7 +1899,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // Scatter3dProjectionX @@ -1909,19 +1909,19 @@ type Scatter3dProjectionX struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the x axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionY @@ -1931,19 +1931,19 @@ type Scatter3dProjectionY struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the y axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionZ @@ -1953,19 +1953,19 @@ type Scatter3dProjectionZ struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the z axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjection @@ -1994,13 +1994,13 @@ type Scatter3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Scatter3dTextfont @@ -2016,25 +2016,25 @@ type Scatter3dTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // Scatter3dTransform 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. diff --git a/generated/v2.31.1/graph_objects/scatter_gen.go b/generated/v2.31.1/graph_objects/scatter_gen.go index f82d1c1..48e03b4 100644 --- a/generated/v2.31.1/graph_objects/scatter_gen.go +++ b/generated/v2.31.1/graph_objects/scatter_gen.go @@ -32,19 +32,19 @@ type Scatter struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -58,19 +58,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -123,7 +123,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -141,25 +141,25 @@ type Scatter struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -173,19 +173,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -196,13 +196,13 @@ type Scatter struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -224,7 +224,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -237,19 +237,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -273,7 +273,7 @@ type Scatter struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stackgaps // arrayOK: false @@ -286,7 +286,7 @@ type Scatter struct { // arrayOK: false // type: string // Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `orientation` is *h*). If blank or omitted this trace will not be stacked. Stacking also turns `fill` on by default, using *tonexty* (*tonextx*) if `orientation` is *h* (*v*) and sets the default `mode` to *lines* irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. - Stackgroup types.String `json:"stackgroup,omitempty"` + Stackgroup types.StringType `json:"stackgroup,omitempty"` // Stream // arrayOK: false @@ -297,7 +297,7 @@ type Scatter struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -315,25 +315,25 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -344,7 +344,7 @@ type Scatter struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -382,7 +382,7 @@ type Scatter struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -395,7 +395,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -420,7 +420,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -440,7 +440,7 @@ type Scatter struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -453,7 +453,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -478,13 +478,13 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // ScatterErrorX @@ -510,13 +510,13 @@ type ScatterErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -528,31 +528,31 @@ type ScatterErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -565,25 +565,25 @@ type ScatterErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterErrorY @@ -609,13 +609,13 @@ type ScatterErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -627,25 +627,25 @@ type ScatterErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -658,25 +658,25 @@ type ScatterErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterFillgradient Sets a fill gradient. If not specified, the fillcolor is used instead. @@ -692,13 +692,13 @@ type ScatterFillgradient struct { // arrayOK: false // type: number // Sets the gradient start value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and start from the x-position given by start. If omitted, the gradient starts at the lowest value of the trace along the respective axis. Ignored if orientation is *radial*. - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Stop // arrayOK: false // type: number // Sets the gradient end value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and end at the x-position given by end. If omitted, the gradient ends at the highest value of the trace along the respective axis. Ignored if orientation is *radial*. - Stop float64 `json:"stop,omitempty"` + Stop types.NumberType `json:"stop,omitempty"` // Type // arrayOK: false @@ -721,7 +721,7 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -733,13 +733,13 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -759,31 +759,31 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // ScatterHoverlabelFont Sets the font used in hover labels. @@ -799,31 +799,31 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterHoverlabel @@ -840,7 +840,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -852,7 +852,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -864,7 +864,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -875,13 +875,13 @@ type ScatterHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterLegendgrouptitleFont Sets this legend group's title font. @@ -897,13 +897,13 @@ type ScatterLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterLegendgrouptitle @@ -918,7 +918,7 @@ type ScatterLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterLine @@ -928,13 +928,13 @@ type ScatterLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -946,7 +946,7 @@ type ScatterLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -959,19 +959,19 @@ type ScatterLine struct { // arrayOK: false // type: boolean // Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected. - Simplify types.Bool `json:"simplify,omitempty"` + Simplify types.BoolType `json:"simplify,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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterMarkerColorbarTickfont Sets the color bar's tick label font @@ -987,13 +987,13 @@ type ScatterMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterMarkerColorbarTickformatstop @@ -1009,25 +1009,25 @@ type ScatterMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1043,13 +1043,13 @@ type ScatterMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterMarkerColorbarTitle @@ -1071,7 +1071,7 @@ type ScatterMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterMarkerColorbar @@ -1093,7 +1093,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1118,7 +1118,7 @@ type ScatterMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1131,13 +1131,13 @@ type ScatterMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1156,13 +1156,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1175,7 +1175,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1195,7 +1195,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1214,7 +1214,7 @@ type ScatterMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1231,7 +1231,7 @@ type ScatterMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1256,13 +1256,13 @@ type ScatterMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1275,7 +1275,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1288,7 +1288,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1302,7 +1302,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1316,13 +1316,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1333,7 +1333,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1346,7 +1346,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1359,7 +1359,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1372,7 +1372,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1395,7 +1395,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1408,7 +1408,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterMarkerLine @@ -1418,31 +1418,31 @@ type ScatterMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1454,7 +1454,7 @@ type ScatterMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1466,25 +1466,25 @@ type ScatterMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterMarker @@ -1494,7 +1494,7 @@ type ScatterMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1507,37 +1507,37 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1549,7 +1549,7 @@ type ScatterMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1566,7 +1566,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1582,43 +1582,43 @@ type ScatterMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1631,25 +1631,25 @@ type ScatterMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1662,7 +1662,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterSelectedMarker @@ -1678,13 +1678,13 @@ type ScatterSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterSelectedTextfont @@ -1718,13 +1718,13 @@ type ScatterStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterTextfont Sets the text font. @@ -1740,31 +1740,31 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterTransform 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. @@ -1784,13 +1784,13 @@ type ScatterUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/scattercarpet_gen.go b/generated/v2.31.1/graph_objects/scattercarpet_gen.go index 931ba83..2edd923 100644 --- a/generated/v2.31.1/graph_objects/scattercarpet_gen.go +++ b/generated/v2.31.1/graph_objects/scattercarpet_gen.go @@ -40,7 +40,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,19 +54,19 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + 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. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -80,7 +80,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -106,7 +106,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -124,25 +124,25 @@ type Scattercarpet struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + 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. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -156,19 +156,19 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -179,13 +179,13 @@ type Scattercarpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -207,7 +207,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -220,13 +220,13 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -243,7 +243,7 @@ type Scattercarpet struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -254,7 +254,7 @@ type Scattercarpet struct { // 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. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -272,25 +272,25 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `a`, `b` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -301,7 +301,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -325,19 +325,19 @@ type Scattercarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // ScattercarpetHoverlabelFont Sets the font used in hover labels. @@ -353,31 +353,31 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattercarpetHoverlabel @@ -394,7 +394,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -406,7 +406,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -418,7 +418,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -429,13 +429,13 @@ type ScattercarpetHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattercarpetLegendgrouptitleFont Sets this legend group's title font. @@ -451,13 +451,13 @@ type ScattercarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetLegendgrouptitle @@ -472,7 +472,7 @@ type ScattercarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetLine @@ -482,13 +482,13 @@ type ScattercarpetLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -500,7 +500,7 @@ type ScattercarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -513,13 +513,13 @@ type ScattercarpetLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattercarpetMarkerColorbarTickfont Sets the color bar's tick label font @@ -535,13 +535,13 @@ type ScattercarpetMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetMarkerColorbarTickformatstop @@ -557,25 +557,25 @@ type ScattercarpetMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -591,13 +591,13 @@ type ScattercarpetMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetMarkerColorbarTitle @@ -619,7 +619,7 @@ type ScattercarpetMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetMarkerColorbar @@ -641,7 +641,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -666,7 +666,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -679,13 +679,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -704,13 +704,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -723,7 +723,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -743,7 +743,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -762,7 +762,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -779,7 +779,7 @@ type ScattercarpetMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -804,13 +804,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -823,7 +823,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -836,7 +836,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -850,7 +850,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -864,13 +864,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -881,7 +881,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -894,7 +894,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -907,7 +907,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -920,7 +920,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -943,7 +943,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -956,7 +956,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattercarpetMarkerLine @@ -966,31 +966,31 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1002,7 +1002,7 @@ type ScattercarpetMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1014,25 +1014,25 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattercarpetMarker @@ -1042,7 +1042,7 @@ type ScattercarpetMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1055,37 +1055,37 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1097,7 +1097,7 @@ type ScattercarpetMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1114,7 +1114,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1130,43 +1130,43 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1179,25 +1179,25 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1210,7 +1210,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattercarpetSelectedMarker @@ -1226,13 +1226,13 @@ type ScattercarpetSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetSelectedTextfont @@ -1266,13 +1266,13 @@ type ScattercarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattercarpetTextfont Sets the text font. @@ -1288,31 +1288,31 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattercarpetTransform 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. @@ -1332,13 +1332,13 @@ type ScattercarpetUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/scattergeo_gen.go b/generated/v2.31.1/graph_objects/scattergeo_gen.go index 8e4f95d..930cc11 100644 --- a/generated/v2.31.1/graph_objects/scattergeo_gen.go +++ b/generated/v2.31.1/graph_objects/scattergeo_gen.go @@ -32,7 +32,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,13 +46,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Fill // arrayOK: false @@ -71,7 +71,7 @@ type Scattergeo struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -90,7 +90,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -101,25 +101,25 @@ type Scattergeo struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -133,7 +133,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -147,19 +147,19 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -170,13 +170,13 @@ type Scattergeo struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -202,7 +202,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Lon // arrayOK: false @@ -216,7 +216,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -233,7 +233,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -246,13 +246,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -269,7 +269,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -280,7 +280,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -298,25 +298,25 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `lat`, `lon`, `location` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -327,7 +327,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -361,31 +361,31 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattergeoHoverlabel @@ -402,7 +402,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -414,7 +414,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -426,7 +426,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -437,13 +437,13 @@ type ScattergeoHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattergeoLegendgrouptitleFont Sets this legend group's title font. @@ -459,13 +459,13 @@ type ScattergeoLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoLegendgrouptitle @@ -480,7 +480,7 @@ type ScattergeoLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoLine @@ -496,13 +496,13 @@ type ScattergeoLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattergeoMarkerColorbarTickfont Sets the color bar's tick label font @@ -518,13 +518,13 @@ type ScattergeoMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoMarkerColorbarTickformatstop @@ -540,25 +540,25 @@ type ScattergeoMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattergeoMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -574,13 +574,13 @@ type ScattergeoMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoMarkerColorbarTitle @@ -602,7 +602,7 @@ type ScattergeoMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoMarkerColorbar @@ -624,7 +624,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -649,7 +649,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -662,13 +662,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -687,13 +687,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -706,7 +706,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -726,7 +726,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -745,7 +745,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -762,7 +762,7 @@ type ScattergeoMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -787,13 +787,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -806,7 +806,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -819,7 +819,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -833,7 +833,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -847,13 +847,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -864,7 +864,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -877,7 +877,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -890,7 +890,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -903,7 +903,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -926,7 +926,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -939,7 +939,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattergeoMarkerLine @@ -949,31 +949,31 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -985,7 +985,7 @@ type ScattergeoMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -997,25 +997,25 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattergeoMarker @@ -1025,7 +1025,7 @@ type ScattergeoMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1038,37 +1038,37 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1080,7 +1080,7 @@ type ScattergeoMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1097,7 +1097,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1113,37 +1113,37 @@ type ScattergeoMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1156,25 +1156,25 @@ type ScattergeoMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1187,7 +1187,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattergeoSelectedMarker @@ -1203,13 +1203,13 @@ type ScattergeoSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoSelectedTextfont @@ -1243,13 +1243,13 @@ type ScattergeoStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattergeoTextfont Sets the text font. @@ -1265,31 +1265,31 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattergeoTransform 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. @@ -1309,13 +1309,13 @@ type ScattergeoUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/scattergl_gen.go b/generated/v2.31.1/graph_objects/scattergl_gen.go index 5660d71..70dfc4d 100644 --- a/generated/v2.31.1/graph_objects/scattergl_gen.go +++ b/generated/v2.31.1/graph_objects/scattergl_gen.go @@ -32,7 +32,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -94,7 +94,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Scattergl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Scattergl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,7 +188,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -201,13 +201,13 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -224,7 +224,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -235,7 +235,7 @@ type Scattergl struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -253,25 +253,25 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -282,7 +282,7 @@ type Scattergl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -320,7 +320,7 @@ type Scattergl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -333,7 +333,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -358,7 +358,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -378,7 +378,7 @@ type Scattergl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -391,7 +391,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -416,7 +416,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ScatterglErrorX @@ -442,13 +442,13 @@ type ScatterglErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -460,31 +460,31 @@ type ScatterglErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -497,25 +497,25 @@ type ScatterglErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglErrorY @@ -541,13 +541,13 @@ type ScatterglErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -559,25 +559,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -590,25 +590,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglHoverlabelFont Sets the font used in hover labels. @@ -624,31 +624,31 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterglHoverlabel @@ -665,7 +665,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -677,7 +677,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -689,7 +689,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -700,13 +700,13 @@ type ScatterglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterglLegendgrouptitleFont Sets this legend group's title font. @@ -722,13 +722,13 @@ type ScatterglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglLegendgrouptitle @@ -743,7 +743,7 @@ type ScatterglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglLine @@ -773,7 +773,7 @@ type ScatterglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglMarkerColorbarTickfont Sets the color bar's tick label font @@ -789,13 +789,13 @@ type ScatterglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglMarkerColorbarTickformatstop @@ -811,25 +811,25 @@ type ScatterglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -845,13 +845,13 @@ type ScatterglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglMarkerColorbarTitle @@ -873,7 +873,7 @@ type ScatterglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglMarkerColorbar @@ -895,7 +895,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -920,7 +920,7 @@ type ScatterglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -933,13 +933,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -958,13 +958,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -977,7 +977,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -997,7 +997,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1016,7 +1016,7 @@ type ScatterglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1033,7 +1033,7 @@ type ScatterglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1058,13 +1058,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1077,7 +1077,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1090,7 +1090,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1104,7 +1104,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1118,13 +1118,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1135,7 +1135,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1148,7 +1148,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1161,7 +1161,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1174,7 +1174,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1191,31 +1191,31 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1227,7 +1227,7 @@ type ScatterglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1239,25 +1239,25 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterglMarker @@ -1267,43 +1267,43 @@ type ScatterglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1315,7 +1315,7 @@ type ScatterglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1332,7 +1332,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1343,37 +1343,37 @@ type ScatterglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1386,13 +1386,13 @@ type ScatterglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1405,7 +1405,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterglSelectedMarker @@ -1421,13 +1421,13 @@ type ScatterglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglSelectedTextfont @@ -1461,13 +1461,13 @@ type ScatterglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterglTextfont Sets the text font. @@ -1483,31 +1483,31 @@ type ScatterglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterglTransform 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. @@ -1527,13 +1527,13 @@ type ScatterglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/scattermapbox_gen.go b/generated/v2.31.1/graph_objects/scattermapbox_gen.go index 6a74d7e..3db67d5 100644 --- a/generated/v2.31.1/graph_objects/scattermapbox_gen.go +++ b/generated/v2.31.1/graph_objects/scattermapbox_gen.go @@ -32,7 +32,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Determines if this scattermapbox trace's layers are to be inserted before the layer with the specified ID. By default, scattermapbox layers are inserted above all the base layers. To place the scattermapbox layers above every other layer, set `below` to *''*. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Cluster // arrayOK: false @@ -43,7 +43,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -57,7 +57,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -83,7 +83,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Scattermapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -140,19 +140,19 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Scattermapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,7 +188,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -205,7 +205,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -218,13 +218,13 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -241,7 +241,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -252,13 +252,13 @@ type Scattermapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -276,19 +276,19 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `lat`, `lon` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -299,7 +299,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -333,55 +333,55 @@ type ScattermapboxCluster struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether clustering is enabled or disabled. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` // Maxzoom // arrayOK: false // type: number // Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size for each cluster step. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Step // arrayOK: true // type: number // Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value. - Step *types.ArrayOK[*float64] `json:"step,omitempty"` + Step *types.ArrayOK[*types.NumberType] `json:"step,omitempty"` // Stepsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `step`. - Stepsrc types.String `json:"stepsrc,omitempty"` + Stepsrc types.StringType `json:"stepsrc,omitempty"` } // ScattermapboxHoverlabelFont Sets the font used in hover labels. @@ -397,31 +397,31 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattermapboxHoverlabel @@ -438,7 +438,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -450,7 +450,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -462,7 +462,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -473,13 +473,13 @@ type ScattermapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattermapboxLegendgrouptitleFont Sets this legend group's title font. @@ -495,13 +495,13 @@ type ScattermapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxLegendgrouptitle @@ -516,7 +516,7 @@ type ScattermapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxLine @@ -532,7 +532,7 @@ type ScattermapboxLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattermapboxMarkerColorbarTickfont Sets the color bar's tick label font @@ -548,13 +548,13 @@ type ScattermapboxMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxMarkerColorbarTickformatstop @@ -570,25 +570,25 @@ type ScattermapboxMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattermapboxMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -604,13 +604,13 @@ type ScattermapboxMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxMarkerColorbarTitle @@ -632,7 +632,7 @@ type ScattermapboxMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxMarkerColorbar @@ -654,7 +654,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -679,7 +679,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -692,13 +692,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -717,13 +717,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -736,7 +736,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -756,7 +756,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -775,7 +775,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -792,7 +792,7 @@ type ScattermapboxMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -817,13 +817,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -836,7 +836,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -849,7 +849,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -863,7 +863,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -877,13 +877,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -894,7 +894,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -907,7 +907,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -920,7 +920,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -933,7 +933,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -950,49 +950,49 @@ type ScattermapboxMarker struct { // arrayOK: false // type: boolean // Flag to draw all symbols, even if they overlap. - Allowoverlap types.Bool `json:"allowoverlap,omitempty"` + Allowoverlap types.BoolType `json:"allowoverlap,omitempty"` // Angle // arrayOK: true // type: number // Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1004,7 +1004,7 @@ type ScattermapboxMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1021,43 +1021,43 @@ type ScattermapboxMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1070,25 +1070,25 @@ type ScattermapboxMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true // type: string // Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols. - Symbol *types.ArrayOK[*types.String] `json:"symbol,omitempty"` + Symbol *types.ArrayOK[*types.StringType] `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattermapboxSelectedMarker @@ -1104,13 +1104,13 @@ type ScattermapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxSelected @@ -1129,13 +1129,13 @@ type ScattermapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattermapboxTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -1151,13 +1151,13 @@ type ScattermapboxTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxTransform 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. @@ -1177,13 +1177,13 @@ type ScattermapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxUnselected diff --git a/generated/v2.31.1/graph_objects/scatterpolar_gen.go b/generated/v2.31.1/graph_objects/scatterpolar_gen.go index 76c0e6b..a7e6b71 100644 --- a/generated/v2.31.1/graph_objects/scatterpolar_gen.go +++ b/generated/v2.31.1/graph_objects/scatterpolar_gen.go @@ -32,13 +32,13 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -90,7 +90,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -108,25 +108,25 @@ type Scatterpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -140,19 +140,19 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Scatterpolar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -191,7 +191,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -204,13 +204,13 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -230,7 +230,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -247,7 +247,7 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -258,13 +258,13 @@ type Scatterpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -282,25 +282,25 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -320,7 +320,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -338,7 +338,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -372,31 +372,31 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarHoverlabel @@ -413,7 +413,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -425,7 +425,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -437,7 +437,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -448,13 +448,13 @@ type ScatterpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarLegendgrouptitleFont Sets this legend group's title font. @@ -470,13 +470,13 @@ type ScatterpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarLegendgrouptitle @@ -491,7 +491,7 @@ type ScatterpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarLine @@ -501,13 +501,13 @@ type ScatterpolarLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -519,7 +519,7 @@ type ScatterpolarLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -532,13 +532,13 @@ type ScatterpolarLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -554,13 +554,13 @@ type ScatterpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarMarkerColorbarTickformatstop @@ -576,25 +576,25 @@ type ScatterpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -610,13 +610,13 @@ type ScatterpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarMarkerColorbarTitle @@ -638,7 +638,7 @@ type ScatterpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarMarkerColorbar @@ -660,7 +660,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -685,7 +685,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -698,13 +698,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -723,13 +723,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -742,7 +742,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -762,7 +762,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -781,7 +781,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -798,7 +798,7 @@ type ScatterpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -823,13 +823,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -842,7 +842,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -855,7 +855,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -869,7 +869,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -883,13 +883,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -900,7 +900,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -913,7 +913,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -926,7 +926,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -939,7 +939,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -962,7 +962,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -975,7 +975,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterpolarMarkerLine @@ -985,31 +985,31 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1021,7 +1021,7 @@ type ScatterpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1033,25 +1033,25 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarMarker @@ -1061,7 +1061,7 @@ type ScatterpolarMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1074,37 +1074,37 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1116,7 +1116,7 @@ type ScatterpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1133,7 +1133,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1149,43 +1149,43 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1198,25 +1198,25 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1229,7 +1229,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarSelectedMarker @@ -1245,13 +1245,13 @@ type ScatterpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarSelectedTextfont @@ -1285,13 +1285,13 @@ type ScatterpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarTextfont Sets the text font. @@ -1307,31 +1307,31 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarTransform 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. @@ -1351,13 +1351,13 @@ type ScatterpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/scatterpolargl_gen.go b/generated/v2.31.1/graph_objects/scatterpolargl_gen.go index 0e046ab..1b10736 100644 --- a/generated/v2.31.1/graph_objects/scatterpolargl_gen.go +++ b/generated/v2.31.1/graph_objects/scatterpolargl_gen.go @@ -32,7 +32,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -84,7 +84,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -95,25 +95,25 @@ type Scatterpolargl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -127,19 +127,19 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -150,13 +150,13 @@ type Scatterpolargl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -178,7 +178,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -191,13 +191,13 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -217,7 +217,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -234,7 +234,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -245,13 +245,13 @@ type Scatterpolargl struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -269,25 +269,25 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -307,7 +307,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -325,7 +325,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -359,31 +359,31 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarglHoverlabel @@ -400,7 +400,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -412,7 +412,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -424,7 +424,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -435,13 +435,13 @@ type ScatterpolarglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarglLegendgrouptitleFont Sets this legend group's title font. @@ -457,13 +457,13 @@ type ScatterpolarglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglLegendgrouptitle @@ -478,7 +478,7 @@ type ScatterpolarglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglLine @@ -501,7 +501,7 @@ type ScatterpolarglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarglMarkerColorbarTickfont Sets the color bar's tick label font @@ -517,13 +517,13 @@ type ScatterpolarglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglMarkerColorbarTickformatstop @@ -539,25 +539,25 @@ type ScatterpolarglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -573,13 +573,13 @@ type ScatterpolarglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglMarkerColorbarTitle @@ -601,7 +601,7 @@ type ScatterpolarglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglMarkerColorbar @@ -623,7 +623,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -648,7 +648,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -661,13 +661,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -686,13 +686,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -705,7 +705,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -725,7 +725,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -744,7 +744,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -761,7 +761,7 @@ type ScatterpolarglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -786,13 +786,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -805,7 +805,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -818,7 +818,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -832,7 +832,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -846,13 +846,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -863,7 +863,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -876,7 +876,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -889,7 +889,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -902,7 +902,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -919,31 +919,31 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -955,7 +955,7 @@ type ScatterpolarglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -967,25 +967,25 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarglMarker @@ -995,43 +995,43 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1043,7 +1043,7 @@ type ScatterpolarglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1060,7 +1060,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1071,37 +1071,37 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1114,13 +1114,13 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1133,7 +1133,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarglSelectedMarker @@ -1149,13 +1149,13 @@ type ScatterpolarglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglSelectedTextfont @@ -1189,13 +1189,13 @@ type ScatterpolarglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarglTextfont Sets the text font. @@ -1211,31 +1211,31 @@ type ScatterpolarglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterpolarglTransform 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. @@ -1255,13 +1255,13 @@ type ScatterpolarglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/scattersmith_gen.go b/generated/v2.31.1/graph_objects/scattersmith_gen.go index ae359fd..78b31f4 100644 --- a/generated/v2.31.1/graph_objects/scattersmith_gen.go +++ b/generated/v2.31.1/graph_objects/scattersmith_gen.go @@ -32,13 +32,13 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,7 +52,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -78,7 +78,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -96,25 +96,25 @@ type Scattersmith struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -128,7 +128,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Imag // arrayOK: false @@ -142,19 +142,19 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `imag`. - Imagsrc types.String `json:"imagsrc,omitempty"` + Imagsrc types.StringType `json:"imagsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -165,13 +165,13 @@ type Scattersmith struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -193,7 +193,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -206,13 +206,13 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Real // arrayOK: false @@ -226,7 +226,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `real`. - Realsrc types.String `json:"realsrc,omitempty"` + Realsrc types.StringType `json:"realsrc,omitempty"` // Selected // arrayOK: false @@ -243,7 +243,7 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -254,13 +254,13 @@ type Scattersmith struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a smith subplot. If *smith* (the default value), the data refer to `layout.smith`. If *smith2*, the data refer to `layout.smith2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -278,25 +278,25 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `real`, `imag` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -307,7 +307,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -341,31 +341,31 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattersmithHoverlabel @@ -382,7 +382,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -394,7 +394,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -406,7 +406,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -417,13 +417,13 @@ type ScattersmithHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattersmithLegendgrouptitleFont Sets this legend group's title font. @@ -439,13 +439,13 @@ type ScattersmithLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithLegendgrouptitle @@ -460,7 +460,7 @@ type ScattersmithLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithLine @@ -470,13 +470,13 @@ type ScattersmithLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -488,7 +488,7 @@ type ScattersmithLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -501,13 +501,13 @@ type ScattersmithLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattersmithMarkerColorbarTickfont Sets the color bar's tick label font @@ -523,13 +523,13 @@ type ScattersmithMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithMarkerColorbarTickformatstop @@ -545,25 +545,25 @@ type ScattersmithMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattersmithMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -579,13 +579,13 @@ type ScattersmithMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithMarkerColorbarTitle @@ -607,7 +607,7 @@ type ScattersmithMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithMarkerColorbar @@ -629,7 +629,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -654,7 +654,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -667,13 +667,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -692,13 +692,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -711,7 +711,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -731,7 +731,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -750,7 +750,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -767,7 +767,7 @@ type ScattersmithMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -792,13 +792,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -811,7 +811,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -824,7 +824,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -838,7 +838,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -852,13 +852,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -869,7 +869,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -882,7 +882,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -895,7 +895,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -908,7 +908,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -931,7 +931,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -944,7 +944,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattersmithMarkerLine @@ -954,31 +954,31 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -990,7 +990,7 @@ type ScattersmithMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1002,25 +1002,25 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattersmithMarker @@ -1030,7 +1030,7 @@ type ScattersmithMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1043,37 +1043,37 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1085,7 +1085,7 @@ type ScattersmithMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1102,7 +1102,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1118,43 +1118,43 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1167,25 +1167,25 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1198,7 +1198,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattersmithSelectedMarker @@ -1214,13 +1214,13 @@ type ScattersmithSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithSelectedTextfont @@ -1254,13 +1254,13 @@ type ScattersmithStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattersmithTextfont Sets the text font. @@ -1276,31 +1276,31 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScattersmithTransform 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. @@ -1320,13 +1320,13 @@ type ScattersmithUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/scatterternary_gen.go b/generated/v2.31.1/graph_objects/scatterternary_gen.go index 23ceca3..01fec5f 100644 --- a/generated/v2.31.1/graph_objects/scatterternary_gen.go +++ b/generated/v2.31.1/graph_objects/scatterternary_gen.go @@ -40,7 +40,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,7 +54,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // C // arrayOK: false @@ -68,19 +68,19 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Csrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `c`. - Csrc types.String `json:"csrc,omitempty"` + Csrc types.StringType `json:"csrc,omitempty"` // Customdata // arrayOK: false @@ -94,7 +94,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -120,7 +120,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -138,25 +138,25 @@ type Scatterternary struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (a,b,c) 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,c). To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -170,19 +170,19 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -193,13 +193,13 @@ type Scatterternary struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -221,7 +221,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -234,13 +234,13 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -257,7 +257,7 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -268,19 +268,19 @@ type Scatterternary struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a ternary subplot. If *ternary* (the default value), the data refer to `layout.ternary`. If *ternary2*, the data refer to `layout.ternary2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Sum // arrayOK: false // type: number // The number each triplet should sum to, if only two of `a`, `b`, and `c` are provided. This overrides `ternary.sum` to normalize this specific trace, but does not affect the values displayed on the axes. 0 (or missing) means to use ternary.sum - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (a,b,c) 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,c). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -298,25 +298,25 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `a`, `b`, `c` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -327,7 +327,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -361,31 +361,31 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterternaryHoverlabel @@ -402,7 +402,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -414,7 +414,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -426,7 +426,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -437,13 +437,13 @@ type ScatterternaryHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterternaryLegendgrouptitleFont Sets this legend group's title font. @@ -459,13 +459,13 @@ type ScatterternaryLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryLegendgrouptitle @@ -480,7 +480,7 @@ type ScatterternaryLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryLine @@ -490,13 +490,13 @@ type ScatterternaryLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -508,7 +508,7 @@ type ScatterternaryLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -521,13 +521,13 @@ type ScatterternaryLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterternaryMarkerColorbarTickfont Sets the color bar's tick label font @@ -543,13 +543,13 @@ type ScatterternaryMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryMarkerColorbarTickformatstop @@ -565,25 +565,25 @@ type ScatterternaryMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterternaryMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -599,13 +599,13 @@ type ScatterternaryMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryMarkerColorbarTitle @@ -627,7 +627,7 @@ type ScatterternaryMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryMarkerColorbar @@ -649,7 +649,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -674,7 +674,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -687,13 +687,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -712,13 +712,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -731,7 +731,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -751,7 +751,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -770,7 +770,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -787,7 +787,7 @@ type ScatterternaryMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -812,13 +812,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -831,7 +831,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -844,7 +844,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -858,7 +858,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -872,13 +872,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -889,7 +889,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -902,7 +902,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -915,7 +915,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -928,7 +928,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -951,7 +951,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -964,7 +964,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterternaryMarkerLine @@ -974,31 +974,31 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1010,7 +1010,7 @@ type ScatterternaryMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1022,25 +1022,25 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterternaryMarker @@ -1050,7 +1050,7 @@ type ScatterternaryMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1063,37 +1063,37 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1105,7 +1105,7 @@ type ScatterternaryMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1122,7 +1122,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1138,43 +1138,43 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1187,25 +1187,25 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1218,7 +1218,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterternarySelectedMarker @@ -1234,13 +1234,13 @@ type ScatterternarySelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternarySelectedTextfont @@ -1274,13 +1274,13 @@ type ScatterternaryStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterternaryTextfont Sets the text font. @@ -1296,31 +1296,31 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ScatterternaryTransform 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. @@ -1340,13 +1340,13 @@ type ScatterternaryUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryUnselectedTextfont diff --git a/generated/v2.31.1/graph_objects/splom_gen.go b/generated/v2.31.1/graph_objects/splom_gen.go index fea99ee..263c6a3 100644 --- a/generated/v2.31.1/graph_objects/splom_gen.go +++ b/generated/v2.31.1/graph_objects/splom_gen.go @@ -40,7 +40,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Diagonal // arrayOK: false @@ -63,7 +63,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -74,25 +74,25 @@ type Splom struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -106,19 +106,19 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -129,13 +129,13 @@ type Splom struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -152,19 +152,19 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -181,19 +181,19 @@ type Splom struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showlowerhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the lower half from the diagonal are displayed. - Showlowerhalf types.Bool `json:"showlowerhalf,omitempty"` + Showlowerhalf types.BoolType `json:"showlowerhalf,omitempty"` // Showupperhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the upper half from the diagonal are displayed. - Showupperhalf types.Bool `json:"showupperhalf,omitempty"` + Showupperhalf types.BoolType `json:"showupperhalf,omitempty"` // Stream // arrayOK: false @@ -204,13 +204,13 @@ type Splom struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair to appear on hover. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -221,7 +221,7 @@ type Splom struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -251,7 +251,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Yaxes // arrayOK: false @@ -263,7 +263,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // SplomDiagonal @@ -273,7 +273,7 @@ type SplomDiagonal struct { // arrayOK: false // type: boolean // Determines whether or not subplots on the diagonal are displayed. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // DimensionAxis @@ -283,7 +283,7 @@ type DimensionAxis struct { // arrayOK: false // type: boolean // Determines whether or not the x & y axes generated by this dimension match. Equivalent to setting the `matches` axis attribute in the layout with the correct axis id. - Matches types.Bool `json:"matches,omitempty"` + Matches types.BoolType `json:"matches,omitempty"` // Type // arrayOK: false @@ -305,19 +305,19 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the label corresponding to this splom dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -331,13 +331,13 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this dimension is shown on the graph. Note that even visible false dimension contribute to the default grid generate by this splom trace. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SplomHoverlabelFont Sets the font used in hover labels. @@ -353,31 +353,31 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SplomHoverlabel @@ -394,7 +394,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -406,7 +406,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -418,7 +418,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -429,13 +429,13 @@ type SplomHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SplomLegendgrouptitleFont Sets this legend group's title font. @@ -451,13 +451,13 @@ type SplomLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomLegendgrouptitle @@ -472,7 +472,7 @@ type SplomLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbarTickfont Sets the color bar's tick label font @@ -488,13 +488,13 @@ type SplomMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomMarkerColorbarTickformatstop @@ -510,25 +510,25 @@ type SplomMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SplomMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -544,13 +544,13 @@ type SplomMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomMarkerColorbarTitle @@ -572,7 +572,7 @@ type SplomMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbar @@ -594,7 +594,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -619,7 +619,7 @@ type SplomMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -632,13 +632,13 @@ type SplomMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -657,13 +657,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -676,7 +676,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -696,7 +696,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -715,7 +715,7 @@ type SplomMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -732,7 +732,7 @@ type SplomMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -757,13 +757,13 @@ type SplomMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -776,7 +776,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -789,7 +789,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -803,7 +803,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -817,13 +817,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -834,7 +834,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -847,7 +847,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -860,7 +860,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -873,7 +873,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -890,31 +890,31 @@ type SplomMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -926,7 +926,7 @@ type SplomMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -938,25 +938,25 @@ type SplomMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SplomMarker @@ -966,43 +966,43 @@ type SplomMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1014,7 +1014,7 @@ type SplomMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1031,7 +1031,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1042,37 +1042,37 @@ type SplomMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1085,13 +1085,13 @@ type SplomMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1104,7 +1104,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // SplomSelectedMarker @@ -1120,13 +1120,13 @@ type SplomSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomSelected @@ -1145,13 +1145,13 @@ type SplomStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SplomTransform 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. @@ -1171,13 +1171,13 @@ type SplomUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomUnselected diff --git a/generated/v2.31.1/graph_objects/streamtube_gen.go b/generated/v2.31.1/graph_objects/streamtube_gen.go index 1b300b4..d0d1949 100644 --- a/generated/v2.31.1/graph_objects/streamtube_gen.go +++ b/generated/v2.31.1/graph_objects/streamtube_gen.go @@ -32,37 +32,37 @@ type Streamtube struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -87,7 +87,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,19 +111,19 @@ type Streamtube struct { // 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. Finally, the template string has access to variables `tubex`, `tubey`, `tubez`, `tubeu`, `tubev`, `tubew`, `norm` and `divergence`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false // type: string // Same as `text`. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Streamtube struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -182,7 +182,7 @@ type Streamtube struct { // arrayOK: false // type: integer // The maximum number of displayed segments in a streamtube. - Maxdisplayed int64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.IntegerType `json:"maxdisplayed,omitempty"` // Meta // arrayOK: true @@ -194,49 +194,49 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizeref // arrayOK: false // type: number // The scaling factor for the streamtubes. The default is 1, which avoids two max divergence tubes from touching at adjacent starting positions. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Starts // arrayOK: false @@ -252,7 +252,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets a text element associated with this trace. If trace `hoverinfo` contains a *text* flag, this text element will be seen in all hover labels. Note that streamtube traces do not support array `text` values. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // U // arrayOK: false @@ -266,13 +266,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -284,7 +284,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -298,7 +298,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -311,7 +311,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -325,13 +325,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -345,13 +345,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -365,13 +365,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -385,13 +385,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeColorbarTickfont Sets the color bar's tick label font @@ -407,13 +407,13 @@ type StreamtubeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeColorbarTickformatstop @@ -429,25 +429,25 @@ type StreamtubeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // StreamtubeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -463,13 +463,13 @@ type StreamtubeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeColorbarTitle @@ -491,7 +491,7 @@ type StreamtubeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeColorbar @@ -513,7 +513,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -538,7 +538,7 @@ type StreamtubeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -551,13 +551,13 @@ type StreamtubeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -576,13 +576,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -595,7 +595,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -615,7 +615,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -634,7 +634,7 @@ type StreamtubeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -651,7 +651,7 @@ type StreamtubeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -676,13 +676,13 @@ type StreamtubeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -695,7 +695,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -708,7 +708,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -722,7 +722,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -736,13 +736,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -753,7 +753,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -766,7 +766,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -779,7 +779,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -792,7 +792,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -815,31 +815,31 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // StreamtubeHoverlabel @@ -856,7 +856,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -868,7 +868,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -880,7 +880,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -891,13 +891,13 @@ type StreamtubeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // StreamtubeLegendgrouptitleFont Sets this legend group's title font. @@ -913,13 +913,13 @@ type StreamtubeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // StreamtubeLegendgrouptitle @@ -934,7 +934,7 @@ type StreamtubeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeLighting @@ -944,43 +944,43 @@ type StreamtubeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // StreamtubeLightposition @@ -990,19 +990,19 @@ type StreamtubeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // StreamtubeStarts @@ -1020,7 +1020,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -1034,7 +1034,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -1048,7 +1048,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeStream @@ -1058,13 +1058,13 @@ type StreamtubeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // StreamtubeColorbarExponentformat 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. diff --git a/generated/v2.31.1/graph_objects/sunburst_gen.go b/generated/v2.31.1/graph_objects/sunburst_gen.go index 2e5b0d3..ab5ceb1 100644 --- a/generated/v2.31.1/graph_objects/sunburst_gen.go +++ b/generated/v2.31.1/graph_objects/sunburst_gen.go @@ -54,7 +54,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Sunburst struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -141,7 +141,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -152,7 +152,7 @@ type Sunburst struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Sunburst struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -186,7 +186,7 @@ type Sunburst struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -198,19 +198,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -229,7 +229,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Root // arrayOK: false @@ -240,13 +240,13 @@ type Sunburst struct { // arrayOK: false // type: angle // Rotates the whole diagram counterclockwise by some angle. By default the first slice starts at 3 o'clock. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -277,19 +277,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -300,7 +300,7 @@ type Sunburst struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -320,7 +320,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -337,13 +337,13 @@ type SunburstDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sunburst trace . - Column int64 `json:"column,omitempty"` + 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 sunburst trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -371,31 +371,31 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstHoverlabel @@ -412,7 +412,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -424,7 +424,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -436,7 +436,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -447,13 +447,13 @@ type SunburstHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SunburstInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -469,31 +469,31 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstLeaf @@ -503,7 +503,7 @@ type SunburstLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // SunburstLegendgrouptitleFont Sets this legend group's title font. @@ -519,13 +519,13 @@ type SunburstLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstLegendgrouptitle @@ -540,7 +540,7 @@ type SunburstLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbarTickfont Sets the color bar's tick label font @@ -556,13 +556,13 @@ type SunburstMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstMarkerColorbarTickformatstop @@ -578,25 +578,25 @@ type SunburstMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SunburstMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -612,13 +612,13 @@ type SunburstMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SunburstMarkerColorbarTitle @@ -640,7 +640,7 @@ type SunburstMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbar @@ -662,7 +662,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -687,7 +687,7 @@ type SunburstMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -700,13 +700,13 @@ type SunburstMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -725,13 +725,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -744,7 +744,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -764,7 +764,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -783,7 +783,7 @@ type SunburstMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -800,7 +800,7 @@ type SunburstMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -825,13 +825,13 @@ type SunburstMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -844,7 +844,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -857,7 +857,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -871,7 +871,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -885,13 +885,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -902,7 +902,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -915,7 +915,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -928,7 +928,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -941,7 +941,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -964,19 +964,19 @@ type SunburstMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SunburstMarkerPattern Sets the pattern within the marker. @@ -992,7 +992,7 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1004,13 +1004,13 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1030,31 +1030,31 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // SunburstMarker @@ -1064,37 +1064,37 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1119,7 +1119,7 @@ type SunburstMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1135,13 +1135,13 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // SunburstOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented at the center of a sunburst graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1157,31 +1157,31 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstRoot @@ -1201,13 +1201,13 @@ type SunburstStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SunburstTextfont Sets the font used for `textinfo`. @@ -1223,31 +1223,31 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SunburstTransform 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. diff --git a/generated/v2.31.1/graph_objects/surface_gen.go b/generated/v2.31.1/graph_objects/surface_gen.go index 4617964..ddae10a 100644 --- a/generated/v2.31.1/graph_objects/surface_gen.go +++ b/generated/v2.31.1/graph_objects/surface_gen.go @@ -32,37 +32,37 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 z or surfacecolor) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as z or surfacecolor. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -79,7 +79,7 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -98,13 +98,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hidesurface // arrayOK: false // type: boolean // Determines whether or not a surface is drawn. For example, set `hidesurface` to *false* `contours.x.show` to *true* and `contours.y.show` to *true* to draw a wire frame plot. - Hidesurface types.Bool `json:"hidesurface,omitempty"` + Hidesurface types.BoolType `json:"hidesurface,omitempty"` // Hoverinfo // arrayOK: true @@ -117,7 +117,7 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -128,25 +128,25 @@ type Surface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -160,19 +160,19 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -183,13 +183,13 @@ type Surface struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -211,19 +211,19 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -235,25 +235,25 @@ type Surface struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -272,25 +272,25 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `surfacecolor`. - Surfacecolorsrc types.String `json:"surfacecolorsrc,omitempty"` + Surfacecolorsrc types.StringType `json:"surfacecolorsrc,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each z value. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,13 +324,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -351,13 +351,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -378,13 +378,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // SurfaceColorbarTickfont Sets the color bar's tick label font @@ -400,13 +400,13 @@ type SurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceColorbarTickformatstop @@ -422,25 +422,25 @@ type SurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -456,13 +456,13 @@ type SurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceColorbarTitle @@ -484,7 +484,7 @@ type SurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceColorbar @@ -506,7 +506,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -531,7 +531,7 @@ type SurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -544,13 +544,13 @@ type SurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -569,13 +569,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -588,7 +588,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -608,7 +608,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -627,7 +627,7 @@ type SurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -644,7 +644,7 @@ type SurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -669,13 +669,13 @@ type SurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -688,7 +688,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -701,7 +701,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -715,7 +715,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -729,13 +729,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -746,7 +746,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -759,7 +759,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -772,7 +772,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -785,7 +785,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -802,19 +802,19 @@ type SurfaceContoursXProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursX @@ -830,13 +830,13 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -848,7 +848,7 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -859,31 +859,31 @@ type SurfaceContoursX struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursYProject @@ -893,19 +893,19 @@ type SurfaceContoursYProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursY @@ -921,13 +921,13 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -939,7 +939,7 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -950,31 +950,31 @@ type SurfaceContoursY struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursZProject @@ -984,19 +984,19 @@ type SurfaceContoursZProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursZ @@ -1012,13 +1012,13 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -1030,7 +1030,7 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -1041,31 +1041,31 @@ type SurfaceContoursZ struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContours @@ -1100,31 +1100,31 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // SurfaceHoverlabel @@ -1141,7 +1141,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1153,7 +1153,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1165,7 +1165,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1176,13 +1176,13 @@ type SurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -1198,13 +1198,13 @@ type SurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SurfaceLegendgrouptitle @@ -1219,7 +1219,7 @@ type SurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceLighting @@ -1229,31 +1229,31 @@ type SurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` } // SurfaceLightposition @@ -1263,19 +1263,19 @@ type SurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // SurfaceStream @@ -1285,13 +1285,13 @@ type SurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SurfaceColorbarExponentformat 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. diff --git a/generated/v2.31.1/graph_objects/table_gen.go b/generated/v2.31.1/graph_objects/table_gen.go index a675b8c..b70b645 100644 --- a/generated/v2.31.1/graph_objects/table_gen.go +++ b/generated/v2.31.1/graph_objects/table_gen.go @@ -45,19 +45,19 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnorder`. - Columnordersrc types.String `json:"columnordersrc,omitempty"` + Columnordersrc types.StringType `json:"columnordersrc,omitempty"` // Columnwidth // arrayOK: true // type: number // The width of columns expressed as a ratio. Columns fill the available width in proportion of their specified column widths. - Columnwidth *types.ArrayOK[*float64] `json:"columnwidth,omitempty"` + Columnwidth *types.ArrayOK[*types.NumberType] `json:"columnwidth,omitempty"` // Columnwidthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnwidth`. - Columnwidthsrc types.String `json:"columnwidthsrc,omitempty"` + Columnwidthsrc types.StringType `json:"columnwidthsrc,omitempty"` // Customdata // arrayOK: false @@ -71,7 +71,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -94,7 +94,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -113,13 +113,13 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -130,13 +130,13 @@ type Table struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -148,13 +148,13 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Stream // arrayOK: false @@ -165,7 +165,7 @@ type Table struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -194,7 +194,7 @@ type TableCellsFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableCellsFont @@ -210,31 +210,31 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableCellsLine @@ -250,19 +250,19 @@ type TableCellsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableCells @@ -279,7 +279,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -303,13 +303,13 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -320,25 +320,25 @@ type TableCells struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -352,7 +352,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableDomain @@ -362,13 +362,13 @@ type TableDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this table trace . - Column int64 `json:"column,omitempty"` + 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 table trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -396,7 +396,7 @@ type TableHeaderFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableHeaderFont @@ -412,31 +412,31 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableHeaderLine @@ -452,19 +452,19 @@ type TableHeaderLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableHeader @@ -481,7 +481,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -505,13 +505,13 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -522,25 +522,25 @@ type TableHeader struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -554,7 +554,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableHoverlabelFont Sets the font used in hover labels. @@ -570,31 +570,31 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TableHoverlabel @@ -611,7 +611,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -623,7 +623,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -635,7 +635,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -646,13 +646,13 @@ type TableHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TableLegendgrouptitleFont Sets this legend group's title font. @@ -668,13 +668,13 @@ type TableLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TableLegendgrouptitle @@ -689,7 +689,7 @@ type TableLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TableStream @@ -699,13 +699,13 @@ type TableStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TableCellsAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.31.1/graph_objects/treemap_gen.go b/generated/v2.31.1/graph_objects/treemap_gen.go index 410a53d..d886712 100644 --- a/generated/v2.31.1/graph_objects/treemap_gen.go +++ b/generated/v2.31.1/graph_objects/treemap_gen.go @@ -54,7 +54,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Treemap struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,13 +134,13 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -151,13 +151,13 @@ type Treemap struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -174,7 +174,7 @@ type Treemap struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -186,19 +186,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -217,7 +217,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -233,7 +233,7 @@ type Treemap struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -271,19 +271,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -299,7 +299,7 @@ type Treemap struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -319,7 +319,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -336,13 +336,13 @@ type TreemapDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this treemap trace . - Column int64 `json:"column,omitempty"` + 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 treemap trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -370,31 +370,31 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapHoverlabel @@ -411,7 +411,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -423,7 +423,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -435,7 +435,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -446,13 +446,13 @@ type TreemapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TreemapInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -468,31 +468,31 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapLegendgrouptitleFont Sets this legend group's title font. @@ -508,13 +508,13 @@ type TreemapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapLegendgrouptitle @@ -529,7 +529,7 @@ type TreemapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbarTickfont Sets the color bar's tick label font @@ -545,13 +545,13 @@ type TreemapMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapMarkerColorbarTickformatstop @@ -567,25 +567,25 @@ type TreemapMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // TreemapMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -601,13 +601,13 @@ type TreemapMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // TreemapMarkerColorbarTitle @@ -629,7 +629,7 @@ type TreemapMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbar @@ -651,7 +651,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -676,7 +676,7 @@ type TreemapMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -689,13 +689,13 @@ type TreemapMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -714,13 +714,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -733,7 +733,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -753,7 +753,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -772,7 +772,7 @@ type TreemapMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -789,7 +789,7 @@ type TreemapMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -814,13 +814,13 @@ type TreemapMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -833,7 +833,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -846,7 +846,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -860,7 +860,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -874,13 +874,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -891,7 +891,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -904,7 +904,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -917,7 +917,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -930,7 +930,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -953,19 +953,19 @@ type TreemapMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TreemapMarkerPad @@ -975,25 +975,25 @@ type TreemapMarkerPad struct { // arrayOK: false // type: number // Sets the padding form the bottom (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the padding form the left (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // Sets the padding form the right (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the padding form the top (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // TreemapMarkerPattern Sets the pattern within the marker. @@ -1009,7 +1009,7 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1021,13 +1021,13 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1047,31 +1047,31 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // TreemapMarker @@ -1081,37 +1081,37 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1136,13 +1136,13 @@ type TreemapMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Cornerradius // arrayOK: false // type: number // Sets the maximum rounding of corners (in px). - Cornerradius float64 `json:"cornerradius,omitempty"` + Cornerradius types.NumberType `json:"cornerradius,omitempty"` // Depthfade // arrayOK: false @@ -1170,13 +1170,13 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // TreemapOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1192,31 +1192,31 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapPathbarTextfont Sets the font used inside `pathbar`. @@ -1232,31 +1232,31 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapPathbar @@ -1285,13 +1285,13 @@ type TreemapPathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // TreemapRoot @@ -1311,13 +1311,13 @@ type TreemapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TreemapTextfont Sets the font used for `textinfo`. @@ -1333,31 +1333,31 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // TreemapTiling @@ -1381,13 +1381,13 @@ type TreemapTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Squarifyratio // arrayOK: false // type: number // When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/v3.1.1/README.md#squarify_ratio this option specifies the desired aspect ratio of the generated rectangles. The ratio must be specified as a number greater than or equal to one. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio; for example, a ratio of two will attempt to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2. When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034, Plotly applies 1 to increase squares in treemap layouts. - Squarifyratio float64 `json:"squarifyratio,omitempty"` + Squarifyratio types.NumberType `json:"squarifyratio,omitempty"` } // TreemapTransform 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. diff --git a/generated/v2.31.1/graph_objects/violin_gen.go b/generated/v2.31.1/graph_objects/violin_gen.go index 9d4daff..a616938 100644 --- a/generated/v2.31.1/graph_objects/violin_gen.go +++ b/generated/v2.31.1/graph_objects/violin_gen.go @@ -32,13 +32,13 @@ type Violin struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Bandwidth // arrayOK: false // type: number // Sets the bandwidth used to compute the kernel density estimate. By default, the bandwidth is determined by Silverman's rule of thumb. - Bandwidth float64 `json:"bandwidth,omitempty"` + Bandwidth types.NumberType `json:"bandwidth,omitempty"` // Box // arrayOK: false @@ -57,7 +57,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fillcolor // arrayOK: false @@ -76,7 +76,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Violin struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,25 +126,25 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the violins. - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -155,13 +155,13 @@ type Violin struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,25 +188,25 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. For violin traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical. Note that the trace name is also used as a default value for attribute `scalegroup` (please see its description for details). - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -219,7 +219,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the violins. If *0*, the sample points are places over the center of the violins. Positive (negative) values correspond to positions to the right (left) for vertical violins and above (below) for horizontal violins. - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Points // arrayOK: false @@ -239,7 +239,7 @@ type Violin struct { // arrayOK: false // type: string // If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non-empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to the trace's name. In this case, violins with the same names will be linked together - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Scalemode // arrayOK: false @@ -263,7 +263,7 @@ type Violin struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Side // arrayOK: false @@ -294,13 +294,13 @@ type Violin struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -311,7 +311,7 @@ type Violin struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -335,7 +335,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the width of the violin in data coordinates. If *0* (default value) the width is automatically selected based on the positions of other violin traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -355,19 +355,19 @@ type Violin struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -387,25 +387,25 @@ type Violin struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // ViolinBoxLine @@ -421,7 +421,7 @@ type ViolinBoxLine struct { // arrayOK: false // type: number // Sets the inner box plot bounding line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinBox @@ -442,13 +442,13 @@ type ViolinBox struct { // arrayOK: false // type: boolean // Determines if an miniature box plot is drawn inside the violins. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the inner box plots relative to the violins' width. For example, with 1, the inner box plots are as wide as the violins. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinHoverlabelFont Sets the font used in hover labels. @@ -464,31 +464,31 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // ViolinHoverlabel @@ -505,7 +505,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -517,7 +517,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -529,7 +529,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -540,13 +540,13 @@ type ViolinHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ViolinLegendgrouptitleFont Sets this legend group's title font. @@ -562,13 +562,13 @@ type ViolinLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinLegendgrouptitle @@ -583,7 +583,7 @@ type ViolinLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ViolinLine @@ -599,7 +599,7 @@ type ViolinLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the violin(s). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarkerLine @@ -621,13 +621,13 @@ type ViolinMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarker @@ -637,7 +637,7 @@ type ViolinMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -654,7 +654,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -666,7 +666,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -689,13 +689,13 @@ type ViolinMeanline struct { // arrayOK: false // type: boolean // Determines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the mean line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinSelectedMarker @@ -711,13 +711,13 @@ type ViolinSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinSelected @@ -736,13 +736,13 @@ type ViolinStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ViolinTransform 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. @@ -762,13 +762,13 @@ type ViolinUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinUnselected diff --git a/generated/v2.31.1/graph_objects/volume_gen.go b/generated/v2.31.1/graph_objects/volume_gen.go index e6a9700..b0621b0 100644 --- a/generated/v2.31.1/graph_objects/volume_gen.go +++ b/generated/v2.31.1/graph_objects/volume_gen.go @@ -32,7 +32,7 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Volume struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,31 +159,31 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -194,13 +194,13 @@ type Volume struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -222,19 +222,19 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -246,25 +246,25 @@ type Volume struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -290,19 +290,19 @@ type Volume struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -322,13 +322,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -349,13 +349,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -369,13 +369,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -389,13 +389,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // VolumeCapsX @@ -405,13 +405,13 @@ type VolumeCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsY @@ -421,13 +421,13 @@ type VolumeCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsZ @@ -437,13 +437,13 @@ type VolumeCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCaps @@ -478,13 +478,13 @@ type VolumeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeColorbarTickformatstop @@ -500,25 +500,25 @@ type VolumeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // VolumeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -534,13 +534,13 @@ type VolumeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeColorbarTitle @@ -562,7 +562,7 @@ type VolumeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeColorbar @@ -584,7 +584,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -609,7 +609,7 @@ type VolumeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -622,13 +622,13 @@ type VolumeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -647,13 +647,13 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -666,7 +666,7 @@ type VolumeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -686,7 +686,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -705,7 +705,7 @@ type VolumeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -722,7 +722,7 @@ type VolumeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -747,13 +747,13 @@ type VolumeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -766,7 +766,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -779,7 +779,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -793,7 +793,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -807,13 +807,13 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -824,7 +824,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -837,7 +837,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -850,7 +850,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -863,7 +863,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -886,13 +886,13 @@ type VolumeContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // VolumeHoverlabelFont Sets the font used in hover labels. @@ -908,31 +908,31 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // VolumeHoverlabel @@ -949,7 +949,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -961,7 +961,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -973,7 +973,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -984,13 +984,13 @@ type VolumeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // VolumeLegendgrouptitleFont Sets this legend group's title font. @@ -1006,13 +1006,13 @@ type VolumeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // VolumeLegendgrouptitle @@ -1027,7 +1027,7 @@ type VolumeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeLighting @@ -1037,43 +1037,43 @@ type VolumeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // VolumeLightposition @@ -1083,19 +1083,19 @@ type VolumeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // VolumeSlicesX @@ -1105,7 +1105,7 @@ type VolumeSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1119,13 +1119,13 @@ type VolumeSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesY @@ -1135,7 +1135,7 @@ type VolumeSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1149,13 +1149,13 @@ type VolumeSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesZ @@ -1165,7 +1165,7 @@ type VolumeSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1179,13 +1179,13 @@ type VolumeSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlices @@ -1214,13 +1214,13 @@ type VolumeSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 1 meaning that they are entirely shaded. Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeStream @@ -1230,13 +1230,13 @@ type VolumeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // VolumeSurface @@ -1246,13 +1246,13 @@ type VolumeSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1265,7 +1265,7 @@ type VolumeSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeColorbarExponentformat 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. diff --git a/generated/v2.31.1/graph_objects/waterfall_gen.go b/generated/v2.31.1/graph_objects/waterfall_gen.go index 64560af..b9a3ece 100644 --- a/generated/v2.31.1/graph_objects/waterfall_gen.go +++ b/generated/v2.31.1/graph_objects/waterfall_gen.go @@ -32,19 +32,19 @@ type Waterfall struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: false // type: number // Sets where the bar base is drawn (in position axis units). - Base float64 `json:"base,omitempty"` + Base types.NumberType `json:"base,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -70,7 +70,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -81,13 +81,13 @@ type Waterfall struct { // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,25 +111,25 @@ type Waterfall struct { // 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. Finally, the template string has access to variables `initial`, `delta` and `final`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -143,7 +143,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -166,13 +166,13 @@ type Waterfall struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -183,13 +183,13 @@ type Waterfall struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Measure // arrayOK: false @@ -203,7 +203,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `measure`. - Measuresrc types.String `json:"measuresrc,omitempty"` + Measuresrc types.StringType `json:"measuresrc,omitempty"` // Meta // arrayOK: true @@ -215,37 +215,37 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -269,7 +269,7 @@ type Waterfall struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -280,13 +280,13 @@ type Waterfall struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -311,25 +311,25 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `initial`, `delta`, `final` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Totals // arrayOK: false @@ -345,7 +345,7 @@ type Waterfall struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -364,13 +364,13 @@ type Waterfall struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -390,13 +390,13 @@ type Waterfall struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -421,7 +421,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -441,13 +441,13 @@ type Waterfall struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -472,13 +472,13 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // WaterfallConnectorLine @@ -494,13 +494,13 @@ type WaterfallConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallConnector @@ -522,7 +522,7 @@ type WaterfallConnector struct { // arrayOK: false // type: boolean // Determines if connector lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // WaterfallDecreasingMarkerLine @@ -538,7 +538,7 @@ type WaterfallDecreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all decreasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallDecreasingMarker @@ -578,31 +578,31 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallHoverlabel @@ -619,7 +619,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -631,7 +631,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -643,7 +643,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -654,13 +654,13 @@ type WaterfallHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // WaterfallIncreasingMarkerLine @@ -676,7 +676,7 @@ type WaterfallIncreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all increasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallIncreasingMarker @@ -716,31 +716,31 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallLegendgrouptitleFont Sets this legend group's title font. @@ -756,13 +756,13 @@ type WaterfallLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // WaterfallLegendgrouptitle @@ -777,7 +777,7 @@ type WaterfallLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // WaterfallOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -793,31 +793,31 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallStream @@ -827,13 +827,13 @@ type WaterfallStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // WaterfallTextfont Sets the font used for `text`. @@ -849,31 +849,31 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` } // WaterfallTotalsMarkerLine @@ -889,7 +889,7 @@ type WaterfallTotalsMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all intermediate sums and total values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallTotalsMarker diff --git a/generated/v2.34.0/graph_objects/animation_gen.go b/generated/v2.34.0/graph_objects/animation_gen.go index 83415c8..0d0e0ab 100644 --- a/generated/v2.34.0/graph_objects/animation_gen.go +++ b/generated/v2.34.0/graph_objects/animation_gen.go @@ -25,7 +25,7 @@ type Animation struct { // arrayOK: false // type: boolean // Play frames starting at the current frame instead of the beginning. - Fromcurrent types.Bool `json:"fromcurrent,omitempty"` + Fromcurrent types.BoolType `json:"fromcurrent,omitempty"` // Mode // arrayOK: false @@ -47,13 +47,13 @@ type AnimationFrame struct { // arrayOK: false // type: number // The duration in milliseconds of each frame. If greater than the frame duration, it will be limited to the frame duration. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Redraw // arrayOK: false // type: boolean // Redraw the plot at completion of the transition. This is desirable for transitions that include properties that cannot be transitioned, but may significantly slow down updates that do not require a full redraw of the plot - Redraw types.Bool `json:"redraw,omitempty"` + Redraw types.BoolType `json:"redraw,omitempty"` } // AnimationTransition @@ -63,7 +63,7 @@ type AnimationTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false diff --git a/generated/v2.34.0/graph_objects/bar_gen.go b/generated/v2.34.0/graph_objects/bar_gen.go index 04f5302..d37f6ad 100644 --- a/generated/v2.34.0/graph_objects/bar_gen.go +++ b/generated/v2.34.0/graph_objects/bar_gen.go @@ -32,7 +32,7 @@ type Bar struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: true @@ -44,13 +44,13 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -71,19 +71,19 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -106,7 +106,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -117,25 +117,25 @@ type Bar struct { // 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. Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -149,7 +149,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -167,13 +167,13 @@ type Bar struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -184,13 +184,13 @@ type Bar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -207,37 +207,37 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -266,7 +266,7 @@ type Bar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -277,13 +277,13 @@ type Bar struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -301,25 +301,25 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `value` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -330,7 +330,7 @@ type Bar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -354,13 +354,13 @@ type Bar struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -380,7 +380,7 @@ type Bar struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -393,7 +393,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -418,7 +418,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -438,7 +438,7 @@ type Bar struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -451,7 +451,7 @@ type Bar struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -476,13 +476,13 @@ type Bar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // BarErrorX @@ -508,13 +508,13 @@ type BarErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -526,31 +526,31 @@ type BarErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -563,25 +563,25 @@ type BarErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarErrorY @@ -607,13 +607,13 @@ type BarErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -625,25 +625,25 @@ type BarErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -656,25 +656,25 @@ type BarErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BarHoverlabelFont Sets the font used in hover labels. @@ -690,19 +690,19 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -715,31 +715,31 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -752,7 +752,7 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -765,7 +765,7 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -778,19 +778,19 @@ type BarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // BarHoverlabel @@ -807,7 +807,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -819,7 +819,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -831,7 +831,7 @@ type BarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -842,13 +842,13 @@ type BarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarInsidetextfont Sets the font used for `text` lying inside the bar. @@ -864,19 +864,19 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -889,31 +889,31 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -926,7 +926,7 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -939,7 +939,7 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -952,19 +952,19 @@ type BarInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // BarLegendgrouptitleFont Sets this legend group's title font. @@ -980,7 +980,7 @@ type BarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -993,13 +993,13 @@ type BarLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1026,7 +1026,7 @@ type BarLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // BarLegendgrouptitle @@ -1041,7 +1041,7 @@ type BarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbarTickfont Sets the color bar's tick label font @@ -1057,7 +1057,7 @@ type BarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1070,13 +1070,13 @@ type BarMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1103,7 +1103,7 @@ type BarMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // BarMarkerColorbarTickformatstop @@ -1119,25 +1119,25 @@ type BarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1153,7 +1153,7 @@ type BarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1166,13 +1166,13 @@ type BarMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1199,7 +1199,7 @@ type BarMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // BarMarkerColorbarTitle @@ -1221,7 +1221,7 @@ type BarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarMarkerColorbar @@ -1243,7 +1243,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1268,7 +1268,7 @@ type BarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1281,13 +1281,13 @@ type BarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1306,13 +1306,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1325,7 +1325,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1345,7 +1345,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1364,7 +1364,7 @@ type BarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1381,7 +1381,7 @@ type BarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1406,13 +1406,13 @@ type BarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1425,7 +1425,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1438,7 +1438,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1452,7 +1452,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1466,13 +1466,13 @@ type BarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1483,7 +1483,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1496,7 +1496,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1509,7 +1509,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1522,7 +1522,7 @@ type BarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1539,31 +1539,31 @@ type BarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1575,7 +1575,7 @@ type BarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1587,25 +1587,25 @@ type BarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarMarkerPattern Sets the pattern within the marker. @@ -1621,7 +1621,7 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1633,13 +1633,13 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1659,31 +1659,31 @@ type BarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarMarker @@ -1693,31 +1693,31 @@ type BarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1729,7 +1729,7 @@ type BarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1746,7 +1746,7 @@ type BarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Cornerradius // arrayOK: false @@ -1763,13 +1763,13 @@ type BarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1780,13 +1780,13 @@ type BarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1802,19 +1802,19 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1827,31 +1827,31 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1864,7 +1864,7 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1877,7 +1877,7 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1890,19 +1890,19 @@ type BarOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // BarSelectedMarker @@ -1918,7 +1918,7 @@ type BarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarSelectedTextfont @@ -1952,13 +1952,13 @@ type BarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarTextfont Sets the font used for `text`. @@ -1974,19 +1974,19 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1999,31 +1999,31 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -2036,7 +2036,7 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -2049,7 +2049,7 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -2062,19 +2062,19 @@ type BarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // BarTransform 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. @@ -2094,7 +2094,7 @@ type BarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/barpolar_gen.go b/generated/v2.34.0/graph_objects/barpolar_gen.go index b6b2d7d..6fa9550 100644 --- a/generated/v2.34.0/graph_objects/barpolar_gen.go +++ b/generated/v2.34.0/graph_objects/barpolar_gen.go @@ -38,7 +38,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `base`. - Basesrc types.String `json:"basesrc,omitempty"` + Basesrc types.StringType `json:"basesrc,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Hoverinfo // arrayOK: true @@ -77,7 +77,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -88,25 +88,25 @@ type Barpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -120,19 +120,19 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -143,13 +143,13 @@ type Barpolar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -166,31 +166,31 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the angular position where the bar is drawn (in *thetatunit* units). - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -210,7 +210,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -227,7 +227,7 @@ type Barpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -238,19 +238,19 @@ type Barpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Theta // arrayOK: false @@ -270,7 +270,7 @@ type Barpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -288,7 +288,7 @@ type Barpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -312,13 +312,13 @@ type Barpolar struct { // arrayOK: true // type: number // Sets the bar angular width (in *thetaunit* units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarHoverlabelFont Sets the font used in hover labels. @@ -334,19 +334,19 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -359,31 +359,31 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -396,7 +396,7 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -409,7 +409,7 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -422,19 +422,19 @@ type BarpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // BarpolarHoverlabel @@ -451,7 +451,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -463,7 +463,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -475,7 +475,7 @@ type BarpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -486,13 +486,13 @@ type BarpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BarpolarLegendgrouptitleFont Sets this legend group's title font. @@ -508,7 +508,7 @@ type BarpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -521,13 +521,13 @@ type BarpolarLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -554,7 +554,7 @@ type BarpolarLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // BarpolarLegendgrouptitle @@ -569,7 +569,7 @@ type BarpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -585,7 +585,7 @@ type BarpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -598,13 +598,13 @@ type BarpolarMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -631,7 +631,7 @@ type BarpolarMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // BarpolarMarkerColorbarTickformatstop @@ -647,25 +647,25 @@ type BarpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // BarpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -681,7 +681,7 @@ type BarpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -694,13 +694,13 @@ type BarpolarMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -727,7 +727,7 @@ type BarpolarMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // BarpolarMarkerColorbarTitle @@ -749,7 +749,7 @@ type BarpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BarpolarMarkerColorbar @@ -771,7 +771,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -796,7 +796,7 @@ type BarpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -809,13 +809,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -834,13 +834,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -853,7 +853,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -873,7 +873,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -892,7 +892,7 @@ type BarpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -909,7 +909,7 @@ type BarpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -934,13 +934,13 @@ type BarpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -953,7 +953,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -966,7 +966,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -980,7 +980,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -994,13 +994,13 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1011,7 +1011,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1024,7 +1024,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1037,7 +1037,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1050,7 +1050,7 @@ type BarpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1067,31 +1067,31 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1103,7 +1103,7 @@ type BarpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1115,25 +1115,25 @@ type BarpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // BarpolarMarkerPattern Sets the pattern within the marker. @@ -1149,7 +1149,7 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1161,13 +1161,13 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1187,31 +1187,31 @@ type BarpolarMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // BarpolarMarker @@ -1221,31 +1221,31 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1257,7 +1257,7 @@ type BarpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1274,7 +1274,7 @@ type BarpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1285,13 +1285,13 @@ type BarpolarMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1302,13 +1302,13 @@ type BarpolarMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // BarpolarSelectedMarker @@ -1324,7 +1324,7 @@ type BarpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarSelectedTextfont @@ -1358,13 +1358,13 @@ type BarpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BarpolarTransform 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. @@ -1384,7 +1384,7 @@ type BarpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // BarpolarUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/box_gen.go b/generated/v2.34.0/graph_objects/box_gen.go index 8ccad58..7cff61e 100644 --- a/generated/v2.34.0/graph_objects/box_gen.go +++ b/generated/v2.34.0/graph_objects/box_gen.go @@ -32,7 +32,7 @@ type Box struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Boxmean // arrayOK: false @@ -60,19 +60,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step for multi-box traces set using q1/median/q3. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step for multi-box traces set using q1/median/q3. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -91,7 +91,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -109,25 +109,25 @@ type Box struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -141,25 +141,25 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the box(es). - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -170,13 +170,13 @@ type Box struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -195,7 +195,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lowerfence`. - Lowerfencesrc types.String `json:"lowerfencesrc,omitempty"` + Lowerfencesrc types.StringType `json:"lowerfencesrc,omitempty"` // Marker // arrayOK: false @@ -214,7 +214,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `mean`. - Meansrc types.String `json:"meansrc,omitempty"` + Meansrc types.StringType `json:"meansrc,omitempty"` // Median // arrayOK: false @@ -228,7 +228,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `median`. - Mediansrc types.String `json:"mediansrc,omitempty"` + Mediansrc types.StringType `json:"mediansrc,omitempty"` // Meta // arrayOK: true @@ -240,19 +240,19 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. For box traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Notched // arrayOK: false // type: boolean // Determines whether or not notches are drawn. Notches displays a confidence interval around the median. We compute the confidence interval as median +/- 1.57 * IQR / sqrt(N), where IQR is the interquartile range and N is the sample size. If two boxes' notches do not overlap there is 95% confidence their medians differ. See https://sites.google.com/site/davidsstatistics/home/notched-box-plots for more info. Defaults to *false* unless `notchwidth` or `notchspan` is set. - Notched types.Bool `json:"notched,omitempty"` + Notched types.BoolType `json:"notched,omitempty"` // Notchspan // arrayOK: false @@ -266,25 +266,25 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `notchspan`. - Notchspansrc types.String `json:"notchspansrc,omitempty"` + Notchspansrc types.StringType `json:"notchspansrc,omitempty"` // Notchwidth // arrayOK: false // type: number // Sets the width of the notches relative to the box' width. For example, with 0, the notches are as wide as the box(es). - Notchwidth float64 `json:"notchwidth,omitempty"` + Notchwidth types.NumberType `json:"notchwidth,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -297,7 +297,7 @@ type Box struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the box(es). If *0*, the sample points are places over the center of the box(es). Positive (negative) values correspond to positions to the right (left) for vertical boxes and above (below) for horizontal boxes - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Q1 // arrayOK: false @@ -311,7 +311,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q1`. - Q1src types.String `json:"q1src,omitempty"` + Q1src types.StringType `json:"q1src,omitempty"` // Q3 // arrayOK: false @@ -325,7 +325,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `q3`. - Q3src types.String `json:"q3src,omitempty"` + Q3src types.StringType `json:"q3src,omitempty"` // Quartilemethod // arrayOK: false @@ -346,13 +346,13 @@ type Box struct { // arrayOK: false // type: number // Scales the box size when sizemode=sd Allowing boxes to be drawn across any stddev range For example 1-stddev, 3-stddev, 5-stddev - Sdmultiple float64 `json:"sdmultiple,omitempty"` + Sdmultiple types.NumberType `json:"sdmultiple,omitempty"` // Sdsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `sd`. - Sdsrc types.String `json:"sdsrc,omitempty"` + Sdsrc types.StringType `json:"sdsrc,omitempty"` // Selected // arrayOK: false @@ -369,13 +369,13 @@ type Box struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showwhiskers // arrayOK: false // type: boolean // Determines whether or not whiskers are visible. Defaults to true for `sizemode` *quartiles*, false for *sd*. - Showwhiskers types.Bool `json:"showwhiskers,omitempty"` + Showwhiskers types.BoolType `json:"showwhiskers,omitempty"` // Sizemode // arrayOK: false @@ -393,13 +393,13 @@ type Box struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -410,7 +410,7 @@ type Box struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -435,7 +435,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `upperfence`. - Upperfencesrc types.String `json:"upperfencesrc,omitempty"` + Upperfencesrc types.StringType `json:"upperfencesrc,omitempty"` // Visible // arrayOK: false @@ -448,13 +448,13 @@ type Box struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the box in data coordinate If *0* (default value) the width is automatically selected based on the positions of other box traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -474,7 +474,7 @@ type Box struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -487,7 +487,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -512,7 +512,7 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -532,7 +532,7 @@ type Box struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -545,7 +545,7 @@ type Box struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -570,13 +570,13 @@ type Box struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // BoxHoverlabelFont Sets the font used in hover labels. @@ -592,19 +592,19 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -617,31 +617,31 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -654,7 +654,7 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -667,7 +667,7 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -680,19 +680,19 @@ type BoxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // BoxHoverlabel @@ -709,7 +709,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -721,7 +721,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -733,7 +733,7 @@ type BoxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -744,13 +744,13 @@ type BoxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // BoxLegendgrouptitleFont Sets this legend group's title font. @@ -766,7 +766,7 @@ type BoxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -779,13 +779,13 @@ type BoxLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -812,7 +812,7 @@ type BoxLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // BoxLegendgrouptitle @@ -827,7 +827,7 @@ type BoxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // BoxLine @@ -843,7 +843,7 @@ type BoxLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarkerLine @@ -865,13 +865,13 @@ type BoxMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // BoxMarker @@ -881,7 +881,7 @@ type BoxMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -898,7 +898,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -910,7 +910,7 @@ type BoxMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -933,13 +933,13 @@ type BoxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxSelected @@ -958,13 +958,13 @@ type BoxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // BoxTransform 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. @@ -984,13 +984,13 @@ type BoxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // BoxUnselected diff --git a/generated/v2.34.0/graph_objects/candlestick_gen.go b/generated/v2.34.0/graph_objects/candlestick_gen.go index c51c0e9..5871a5a 100644 --- a/generated/v2.34.0/graph_objects/candlestick_gen.go +++ b/generated/v2.34.0/graph_objects/candlestick_gen.go @@ -40,7 +40,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Candlestick struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,13 +128,13 @@ type Candlestick struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -145,13 +145,13 @@ type Candlestick struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -170,7 +170,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -182,19 +182,19 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -208,7 +208,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -220,7 +220,7 @@ type Candlestick struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -231,13 +231,13 @@ type Candlestick struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -248,7 +248,7 @@ type Candlestick struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -267,7 +267,7 @@ type Candlestick struct { // arrayOK: false // type: number // Sets the width of the whiskers relative to the box' width. For example, with 1, the whiskers are as wide as the box(es). - Whiskerwidth float64 `json:"whiskerwidth,omitempty"` + Whiskerwidth types.NumberType `json:"whiskerwidth,omitempty"` // X // arrayOK: false @@ -281,7 +281,7 @@ type Candlestick struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -294,7 +294,7 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -319,25 +319,25 @@ type Candlestick struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // CandlestickDecreasingLine @@ -353,7 +353,7 @@ type CandlestickDecreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickDecreasing @@ -384,19 +384,19 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -409,31 +409,31 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -446,7 +446,7 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -459,7 +459,7 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -472,19 +472,19 @@ type CandlestickHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // CandlestickHoverlabel @@ -501,7 +501,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -513,7 +513,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -525,7 +525,7 @@ type CandlestickHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -536,19 +536,19 @@ type CandlestickHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // CandlestickIncreasingLine @@ -564,7 +564,7 @@ type CandlestickIncreasingLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickIncreasing @@ -595,7 +595,7 @@ type CandlestickLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -608,13 +608,13 @@ type CandlestickLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -641,7 +641,7 @@ type CandlestickLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // CandlestickLegendgrouptitle @@ -656,7 +656,7 @@ type CandlestickLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CandlestickLine @@ -666,7 +666,7 @@ type CandlestickLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the box(es). Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // CandlestickStream @@ -676,13 +676,13 @@ type CandlestickStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CandlestickTransform 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. diff --git a/generated/v2.34.0/graph_objects/carpet_gen.go b/generated/v2.34.0/graph_objects/carpet_gen.go index e56536a..2235fc5 100644 --- a/generated/v2.34.0/graph_objects/carpet_gen.go +++ b/generated/v2.34.0/graph_objects/carpet_gen.go @@ -40,7 +40,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `a`. Builds a linear space of a coordinates. Use with `da` where `a0` is the starting coordinate and `da` the step. - A0 float64 `json:"a0,omitempty"` + A0 types.NumberType `json:"a0,omitempty"` // Aaxis // arrayOK: false @@ -51,7 +51,7 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -65,7 +65,7 @@ type Carpet struct { // arrayOK: false // type: number // Alternate to `b`. Builds a linear space of a coordinates. Use with `db` where `b0` is the starting coordinate and `db` the step. - B0 float64 `json:"b0,omitempty"` + B0 types.NumberType `json:"b0,omitempty"` // Baxis // arrayOK: false @@ -76,19 +76,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,omitempty"` // Cheaterslope // arrayOK: false // type: number // The shift applied to each successive row of data in creating a cheater plot. Only used if `x` is been omitted. - Cheaterslope float64 `json:"cheaterslope,omitempty"` + Cheaterslope types.NumberType `json:"cheaterslope,omitempty"` // Color // arrayOK: false @@ -108,19 +108,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the a coordinate step. See `a0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the b coordinate step. See `b0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Font // arrayOK: false @@ -139,13 +139,13 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Carpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -174,19 +174,19 @@ type Carpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Stream // arrayOK: false @@ -197,7 +197,7 @@ type Carpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -224,13 +224,13 @@ type Carpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -244,19 +244,19 @@ type Carpet struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // CarpetAaxisTickfont Sets the tick font. @@ -272,7 +272,7 @@ type CarpetAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -285,13 +285,13 @@ type CarpetAaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -318,7 +318,7 @@ type CarpetAaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // CarpetAaxisTickformatstop @@ -334,25 +334,25 @@ type CarpetAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetAaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -368,7 +368,7 @@ type CarpetAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -381,13 +381,13 @@ type CarpetAaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -414,7 +414,7 @@ type CarpetAaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // CarpetAaxisTitle @@ -429,13 +429,13 @@ type CarpetAaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetAaxis @@ -445,13 +445,13 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -479,7 +479,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -505,13 +505,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -523,7 +523,7 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -536,7 +536,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -548,13 +548,13 @@ type CarpetAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -566,19 +566,19 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -590,13 +590,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -608,25 +608,25 @@ type CarpetAaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -645,7 +645,7 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -658,13 +658,13 @@ type CarpetAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -691,13 +691,13 @@ type CarpetAaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -709,19 +709,19 @@ type CarpetAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -732,7 +732,7 @@ type CarpetAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -750,13 +750,13 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -770,7 +770,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -784,7 +784,7 @@ type CarpetAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -812,7 +812,7 @@ type CarpetBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -825,13 +825,13 @@ type CarpetBaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -858,7 +858,7 @@ type CarpetBaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // CarpetBaxisTickformatstop @@ -874,25 +874,25 @@ type CarpetBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // CarpetBaxisTitleFont Sets this axis' title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -908,7 +908,7 @@ type CarpetBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -921,13 +921,13 @@ type CarpetBaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -954,7 +954,7 @@ type CarpetBaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // CarpetBaxisTitle @@ -969,13 +969,13 @@ type CarpetBaxisTitle struct { // arrayOK: false // type: number // An additional amount by which to offset the title from the tick labels, given in pixels. Note that this used to be set by the now deprecated `titleoffset` attribute. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetBaxis @@ -985,13 +985,13 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // The stride between grid lines along the axis - Arraydtick int64 `json:"arraydtick,omitempty"` + Arraydtick types.IntegerType `json:"arraydtick,omitempty"` // Arraytick0 // arrayOK: false // type: integer // The starting index of grid lines along the axis - Arraytick0 int64 `json:"arraytick0,omitempty"` + Arraytick0 types.IntegerType `json:"arraytick0,omitempty"` // Autorange // arrayOK: false @@ -1019,7 +1019,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -1045,13 +1045,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // The stride between grid lines along the axis - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Endline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the final value of this axis. If *true*, the end line is drawn on top of the grid lines. - Endline types.Bool `json:"endline,omitempty"` + Endline types.BoolType `json:"endline,omitempty"` // Endlinecolor // arrayOK: false @@ -1063,7 +1063,7 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the end line. - Endlinewidth float64 `json:"endlinewidth,omitempty"` + Endlinewidth types.NumberType `json:"endlinewidth,omitempty"` // Exponentformat // arrayOK: false @@ -1076,7 +1076,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -1088,13 +1088,13 @@ type CarpetBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Labelalias // arrayOK: false @@ -1106,19 +1106,19 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Extra padding between label and the axis - Labelpadding int64 `json:"labelpadding,omitempty"` + Labelpadding types.IntegerType `json:"labelpadding,omitempty"` // Labelprefix // arrayOK: false // type: string // Sets a axis label prefix. - Labelprefix types.String `json:"labelprefix,omitempty"` + Labelprefix types.StringType `json:"labelprefix,omitempty"` // Labelsuffix // arrayOK: false // type: string // Sets a axis label suffix. - Labelsuffix types.String `json:"labelsuffix,omitempty"` + Labelsuffix types.StringType `json:"labelsuffix,omitempty"` // Linecolor // arrayOK: false @@ -1130,13 +1130,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Minexponent // arrayOK: false // type: number // Hide SI prefix for 10^n if |n| is below this number - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minorgridcolor // arrayOK: false @@ -1148,25 +1148,25 @@ type CarpetBaxis struct { // arrayOK: false // type: integer // Sets the number of minor grid ticks per major grid tick - Minorgridcount int64 `json:"minorgridcount,omitempty"` + Minorgridcount types.IntegerType `json:"minorgridcount,omitempty"` // Minorgriddash // 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*). - Minorgriddash types.String `json:"minorgriddash,omitempty"` + Minorgriddash types.StringType `json:"minorgriddash,omitempty"` // Minorgridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Minorgridwidth float64 `json:"minorgridwidth,omitempty"` + Minorgridwidth types.NumberType `json:"minorgridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -1185,7 +1185,7 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1198,13 +1198,13 @@ type CarpetBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false @@ -1231,13 +1231,13 @@ type CarpetBaxis struct { // arrayOK: false // type: number // - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Startline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the starting value of this axis. If *true*, the start line is drawn on top of the grid lines. - Startline types.Bool `json:"startline,omitempty"` + Startline types.BoolType `json:"startline,omitempty"` // Startlinecolor // arrayOK: false @@ -1249,19 +1249,19 @@ type CarpetBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the start line. - Startlinewidth float64 `json:"startlinewidth,omitempty"` + Startlinewidth types.NumberType `json:"startlinewidth,omitempty"` // Tick0 // arrayOK: false // type: number // The starting index of grid lines along the axis - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickfont // arrayOK: false @@ -1272,7 +1272,7 @@ type CarpetBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1290,13 +1290,13 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticksuffix // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1310,7 +1310,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1324,7 +1324,7 @@ type CarpetBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Title // arrayOK: false @@ -1352,7 +1352,7 @@ type CarpetFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1365,13 +1365,13 @@ type CarpetFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1398,7 +1398,7 @@ type CarpetFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // CarpetLegendgrouptitleFont Sets this legend group's title font. @@ -1414,7 +1414,7 @@ type CarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1427,13 +1427,13 @@ type CarpetLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1460,7 +1460,7 @@ type CarpetLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // CarpetLegendgrouptitle @@ -1475,7 +1475,7 @@ type CarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // CarpetStream @@ -1485,13 +1485,13 @@ type CarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // CarpetAaxisAutorange Determines whether or not the range of this axis is computed in relation to the input data. See `rangemode` for more info. If `range` is provided, then `autorange` is set to *false*. diff --git a/generated/v2.34.0/graph_objects/choropleth_gen.go b/generated/v2.34.0/graph_objects/choropleth_gen.go index 44fe28d..e65a6b7 100644 --- a/generated/v2.34.0/graph_objects/choropleth_gen.go +++ b/generated/v2.34.0/graph_objects/choropleth_gen.go @@ -32,13 +32,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geo // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choropleth struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Choropleth struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locationmode // arrayOK: false @@ -187,7 +187,7 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -204,19 +204,19 @@ type Choropleth struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -233,13 +233,13 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -250,13 +250,13 @@ type Choropleth struct { // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -267,7 +267,7 @@ type Choropleth struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -299,31 +299,31 @@ type Choropleth struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethColorbarTickfont Sets the color bar's tick label font @@ -339,7 +339,7 @@ type ChoroplethColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -352,13 +352,13 @@ type ChoroplethColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -385,7 +385,7 @@ type ChoroplethColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ChoroplethColorbarTickformatstop @@ -401,25 +401,25 @@ type ChoroplethColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -435,7 +435,7 @@ type ChoroplethColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -448,13 +448,13 @@ type ChoroplethColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -481,7 +481,7 @@ type ChoroplethColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ChoroplethColorbarTitle @@ -503,7 +503,7 @@ type ChoroplethColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethColorbar @@ -525,7 +525,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -550,7 +550,7 @@ type ChoroplethColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -563,13 +563,13 @@ type ChoroplethColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -588,13 +588,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -607,7 +607,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -627,7 +627,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -646,7 +646,7 @@ type ChoroplethColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -663,7 +663,7 @@ type ChoroplethColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -688,13 +688,13 @@ type ChoroplethColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -707,7 +707,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -720,7 +720,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -734,7 +734,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -748,13 +748,13 @@ type ChoroplethColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -765,7 +765,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -778,7 +778,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -791,7 +791,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -804,7 +804,7 @@ type ChoroplethColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -827,19 +827,19 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -852,31 +852,31 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -889,7 +889,7 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -902,7 +902,7 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -915,19 +915,19 @@ type ChoroplethHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ChoroplethHoverlabel @@ -944,7 +944,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -956,7 +956,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -968,7 +968,7 @@ type ChoroplethHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -979,13 +979,13 @@ type ChoroplethHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethLegendgrouptitleFont Sets this legend group's title font. @@ -1001,7 +1001,7 @@ type ChoroplethLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1014,13 +1014,13 @@ type ChoroplethLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1047,7 +1047,7 @@ type ChoroplethLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ChoroplethLegendgrouptitle @@ -1062,7 +1062,7 @@ type ChoroplethLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethMarkerLine @@ -1078,19 +1078,19 @@ type ChoroplethMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethMarker @@ -1105,13 +1105,13 @@ type ChoroplethMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethSelectedMarker @@ -1121,7 +1121,7 @@ type ChoroplethSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethSelected @@ -1140,13 +1140,13 @@ type ChoroplethStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethTransform 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. @@ -1160,7 +1160,7 @@ type ChoroplethUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethUnselected diff --git a/generated/v2.34.0/graph_objects/choroplethmapbox_gen.go b/generated/v2.34.0/graph_objects/choroplethmapbox_gen.go index d5a620a..1721fe7 100644 --- a/generated/v2.34.0/graph_objects/choroplethmapbox_gen.go +++ b/generated/v2.34.0/graph_objects/choroplethmapbox_gen.go @@ -32,19 +32,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the choropleth polygons will be inserted before the layer with the specified ID. By default, choroplethmapbox traces are placed above the water layers. If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,13 +69,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Geojson // arrayOK: false @@ -94,7 +94,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Choroplethmapbox struct { // 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. Finally, the template string has access to variable `properties` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Choroplethmapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Locations // arrayOK: false @@ -180,7 +180,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Marker // arrayOK: false @@ -197,19 +197,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Selected // arrayOK: false @@ -226,13 +226,13 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -243,19 +243,19 @@ type Choroplethmapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each location. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -266,7 +266,7 @@ type Choroplethmapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -298,31 +298,31 @@ type Choroplethmapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ChoroplethmapboxColorbarTickfont Sets the color bar's tick label font @@ -338,7 +338,7 @@ type ChoroplethmapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -351,13 +351,13 @@ type ChoroplethmapboxColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -384,7 +384,7 @@ type ChoroplethmapboxColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ChoroplethmapboxColorbarTickformatstop @@ -400,25 +400,25 @@ type ChoroplethmapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ChoroplethmapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -434,7 +434,7 @@ type ChoroplethmapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -447,13 +447,13 @@ type ChoroplethmapboxColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -480,7 +480,7 @@ type ChoroplethmapboxColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ChoroplethmapboxColorbarTitle @@ -502,7 +502,7 @@ type ChoroplethmapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxColorbar @@ -524,7 +524,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -549,7 +549,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -562,13 +562,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -587,13 +587,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -606,7 +606,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -626,7 +626,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -645,7 +645,7 @@ type ChoroplethmapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -662,7 +662,7 @@ type ChoroplethmapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -687,13 +687,13 @@ type ChoroplethmapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -706,7 +706,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -719,7 +719,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -733,7 +733,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -747,13 +747,13 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -764,7 +764,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -777,7 +777,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -790,7 +790,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -803,7 +803,7 @@ type ChoroplethmapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -826,19 +826,19 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -851,31 +851,31 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -888,7 +888,7 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -901,7 +901,7 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -914,19 +914,19 @@ type ChoroplethmapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ChoroplethmapboxHoverlabel @@ -943,7 +943,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -955,7 +955,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -967,7 +967,7 @@ type ChoroplethmapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -978,13 +978,13 @@ type ChoroplethmapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ChoroplethmapboxLegendgrouptitleFont Sets this legend group's title font. @@ -1000,7 +1000,7 @@ type ChoroplethmapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1013,13 +1013,13 @@ type ChoroplethmapboxLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1046,7 +1046,7 @@ type ChoroplethmapboxLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ChoroplethmapboxLegendgrouptitle @@ -1061,7 +1061,7 @@ type ChoroplethmapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ChoroplethmapboxMarkerLine @@ -1077,19 +1077,19 @@ type ChoroplethmapboxMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ChoroplethmapboxMarker @@ -1104,13 +1104,13 @@ type ChoroplethmapboxMarker struct { // arrayOK: true // type: number // Sets the opacity of the locations. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` } // ChoroplethmapboxSelectedMarker @@ -1120,7 +1120,7 @@ type ChoroplethmapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxSelected @@ -1139,13 +1139,13 @@ type ChoroplethmapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ChoroplethmapboxTransform 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. @@ -1159,7 +1159,7 @@ type ChoroplethmapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ChoroplethmapboxUnselected diff --git a/generated/v2.34.0/graph_objects/cone_gen.go b/generated/v2.34.0/graph_objects/cone_gen.go index dff2a70..4a71943 100644 --- a/generated/v2.34.0/graph_objects/cone_gen.go +++ b/generated/v2.34.0/graph_objects/cone_gen.go @@ -39,37 +39,37 @@ type Cone struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -94,7 +94,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -107,7 +107,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -118,25 +118,25 @@ type Cone struct { // 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. Finally, the template string has access to variable `norm` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -150,19 +150,19 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -173,13 +173,13 @@ type Cone struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -201,43 +201,43 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizemode // arrayOK: false @@ -250,7 +250,7 @@ type Cone struct { // arrayOK: false // type: number // Adjusts the cone size scaling. The size of the cones is determined by their u/v/w norm multiplied a factor and `sizeref`. This factor (computed internally) corresponds to the minimum "time" to travel across two successive x/y/z positions at the average velocity of those two successive positions. All cones in a given trace use the same factor. With `sizemode` set to *raw*, its default value is *1*. With `sizemode` set to *scaled*, `sizeref` is unitless, its default value is *0.5*. With `sizemode` set to *absolute*, `sizeref` has the same units as the u/v/w vector field, its the default value is half the sample's maximum vector norm. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Stream // arrayOK: false @@ -261,13 +261,13 @@ type Cone struct { // arrayOK: true // type: string // Sets the text elements associated with the cones. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // U // arrayOK: false @@ -281,13 +281,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -299,7 +299,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -313,7 +313,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -326,7 +326,7 @@ type Cone struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -340,13 +340,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -360,13 +360,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -380,13 +380,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -400,13 +400,13 @@ type Cone struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ConeColorbarTickfont Sets the color bar's tick label font @@ -422,7 +422,7 @@ type ConeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -435,13 +435,13 @@ type ConeColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -468,7 +468,7 @@ type ConeColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ConeColorbarTickformatstop @@ -484,25 +484,25 @@ type ConeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ConeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -518,7 +518,7 @@ type ConeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -531,13 +531,13 @@ type ConeColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -564,7 +564,7 @@ type ConeColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ConeColorbarTitle @@ -586,7 +586,7 @@ type ConeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeColorbar @@ -608,7 +608,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -633,7 +633,7 @@ type ConeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -646,13 +646,13 @@ type ConeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -671,13 +671,13 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -690,7 +690,7 @@ type ConeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -710,7 +710,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -729,7 +729,7 @@ type ConeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -746,7 +746,7 @@ type ConeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -771,13 +771,13 @@ type ConeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -790,7 +790,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -803,7 +803,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -817,7 +817,7 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -831,13 +831,13 @@ type ConeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -848,7 +848,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -861,7 +861,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -874,7 +874,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -887,7 +887,7 @@ type ConeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -910,19 +910,19 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -935,31 +935,31 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -972,7 +972,7 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -985,7 +985,7 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -998,19 +998,19 @@ type ConeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ConeHoverlabel @@ -1027,7 +1027,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1039,7 +1039,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1051,7 +1051,7 @@ type ConeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1062,13 +1062,13 @@ type ConeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ConeLegendgrouptitleFont Sets this legend group's title font. @@ -1084,7 +1084,7 @@ type ConeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1097,13 +1097,13 @@ type ConeLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1130,7 +1130,7 @@ type ConeLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ConeLegendgrouptitle @@ -1145,7 +1145,7 @@ type ConeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ConeLighting @@ -1155,43 +1155,43 @@ type ConeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // ConeLightposition @@ -1201,19 +1201,19 @@ type ConeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // ConeStream @@ -1223,13 +1223,13 @@ type ConeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ConeAnchor Sets the cones' anchor with respect to their x/y/z positions. Note that *cm* denote the cone's center of mass which corresponds to 1/4 from the tail to tip. diff --git a/generated/v2.34.0/graph_objects/config_gen.go b/generated/v2.34.0/graph_objects/config_gen.go index 44bb91c..c3a5fcf 100644 --- a/generated/v2.34.0/graph_objects/config_gen.go +++ b/generated/v2.34.0/graph_objects/config_gen.go @@ -13,7 +13,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether the graphs are plotted with respect to layout.autosize:true and infer its container size. - Autosizable types.Bool `json:"autosizable,omitempty"` + Autosizable types.BoolType `json:"autosizable,omitempty"` // DisplayModeBar // arrayOK: false @@ -26,7 +26,7 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not the plotly logo is displayed on the end of the mode bar. - Displaylogo types.Bool `json:"displaylogo,omitempty"` + Displaylogo types.BoolType `json:"displaylogo,omitempty"` // DoubleClick // arrayOK: false @@ -39,19 +39,19 @@ type Config struct { // arrayOK: false // type: number // Sets the delay for registering a double-click in ms. This is the time interval (in ms) between first mousedown and 2nd mouseup to constitute a double-click. This setting propagates to all on-subplot double clicks (except for geo and mapbox) and on-legend double clicks. - DoubleClickDelay float64 `json:"doubleClickDelay,omitempty"` + DoubleClickDelay types.NumberType `json:"doubleClickDelay,omitempty"` // EditSelection // arrayOK: false // type: boolean // Enables moving selections. - EditSelection types.Bool `json:"editSelection,omitempty"` + EditSelection types.BoolType `json:"editSelection,omitempty"` // Editable // arrayOK: false // type: boolean // Determines whether the graph is editable or not. Sets all pieces of `edits` unless a separate `edits` config item overrides individual parts. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Edits // arrayOK: false @@ -62,13 +62,13 @@ type Config struct { // arrayOK: false // type: boolean // When `layout.autosize` is turned on, determines whether the graph fills the container (the default) or the screen (if set to *true*). - FillFrame types.Bool `json:"fillFrame,omitempty"` + FillFrame types.BoolType `json:"fillFrame,omitempty"` // FrameMargins // arrayOK: false // type: number // When `layout.autosize` is turned on, set the frame margins in fraction of the graph size. - FrameMargins float64 `json:"frameMargins,omitempty"` + FrameMargins types.NumberType `json:"frameMargins,omitempty"` // GlobalTransforms // arrayOK: false @@ -80,13 +80,13 @@ type Config struct { // arrayOK: false // type: string // Sets the text appearing in the `showLink` link. - LinkText types.String `json:"linkText,omitempty"` + LinkText types.StringType `json:"linkText,omitempty"` // Locale // arrayOK: false // type: string // Which localization should we use? Should be a string like 'en' or 'en-US'. - Locale types.String `json:"locale,omitempty"` + Locale types.StringType `json:"locale,omitempty"` // Locales // arrayOK: false @@ -98,13 +98,13 @@ type Config struct { // arrayOK: false // type: integer // Turn all console logging on or off (errors will be thrown) This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no logs 1: warnings and errors, but not informational messages 2: verbose logs - Logging int64 `json:"logging,omitempty"` + Logging types.IntegerType `json:"logging,omitempty"` // MapboxAccessToken // arrayOK: false // type: string // Mapbox access token (required to plot mapbox trace types) If using an Mapbox Atlas server, set this option to '' so that plotly.js won't attempt to authenticate to the public Mapbox server. - MapboxAccessToken types.String `json:"mapboxAccessToken,omitempty"` + MapboxAccessToken types.StringType `json:"mapboxAccessToken,omitempty"` // ModeBarButtons // arrayOK: false @@ -128,31 +128,31 @@ type Config struct { // arrayOK: false // type: integer // Set on-graph logging (notifier) level This should ONLY be set via Plotly.setPlotConfig Available levels: 0: no on-graph logs 1: warnings and errors, but not informational messages 2: verbose logs - NotifyOnLogging int64 `json:"notifyOnLogging,omitempty"` + NotifyOnLogging types.IntegerType `json:"notifyOnLogging,omitempty"` // PlotGlPixelRatio // arrayOK: false // type: number // Set the pixel ratio during WebGL image export. This config option was formerly named `plot3dPixelRatio` which is now deprecated. - PlotGlPixelRatio float64 `json:"plotGlPixelRatio,omitempty"` + PlotGlPixelRatio types.NumberType `json:"plotGlPixelRatio,omitempty"` // PlotlyServerURL // arrayOK: false // type: string // When set it determines base URL for the 'Edit in Chart Studio' `showEditInChartStudio`/`showSendToCloud` mode bar button and the showLink/sendData on-graph link. To enable sending your data to Chart Studio Cloud, you need to set both `plotlyServerURL` to 'https://chart-studio.plotly.com' and also set `showSendToCloud` to true. - PlotlyServerURL types.String `json:"plotlyServerURL,omitempty"` + PlotlyServerURL types.StringType `json:"plotlyServerURL,omitempty"` // QueueLength // arrayOK: false // type: integer // Sets the length of the undo/redo queue. - QueueLength int64 `json:"queueLength,omitempty"` + QueueLength types.IntegerType `json:"queueLength,omitempty"` // Responsive // arrayOK: false // type: boolean // Determines whether to change the layout size when window is resized. In v3, this option will be removed and will always be true. - Responsive types.Bool `json:"responsive,omitempty"` + Responsive types.BoolType `json:"responsive,omitempty"` // ScrollZoom // arrayOK: false @@ -165,7 +165,7 @@ type Config struct { // arrayOK: false // type: boolean // If *showLink* is true, does it contain data just link to a Chart Studio Cloud file? - SendData types.Bool `json:"sendData,omitempty"` + SendData types.BoolType `json:"sendData,omitempty"` // SetBackground // arrayOK: false @@ -177,31 +177,31 @@ type Config struct { // arrayOK: false // type: boolean // Set to *false* to omit cartesian axis pan/zoom drag handles. - ShowAxisDragHandles types.Bool `json:"showAxisDragHandles,omitempty"` + ShowAxisDragHandles types.BoolType `json:"showAxisDragHandles,omitempty"` // ShowAxisRangeEntryBoxes // arrayOK: false // type: boolean // Set to *false* to omit direct range entry at the pan/zoom drag points, note that `showAxisDragHandles` must be enabled to have an effect. - ShowAxisRangeEntryBoxes types.Bool `json:"showAxisRangeEntryBoxes,omitempty"` + ShowAxisRangeEntryBoxes types.BoolType `json:"showAxisRangeEntryBoxes,omitempty"` // ShowEditInChartStudio // arrayOK: false // type: boolean // Same as `showSendToCloud`, but use a pencil icon instead of a floppy-disk. Note that if both `showSendToCloud` and `showEditInChartStudio` are turned, only `showEditInChartStudio` will be honored. - ShowEditInChartStudio types.Bool `json:"showEditInChartStudio,omitempty"` + ShowEditInChartStudio types.BoolType `json:"showEditInChartStudio,omitempty"` // ShowLink // arrayOK: false // type: boolean // Determines whether a link to Chart Studio Cloud is displayed at the bottom right corner of resulting graphs. Use with `sendData` and `linkText`. - ShowLink types.Bool `json:"showLink,omitempty"` + ShowLink types.BoolType `json:"showLink,omitempty"` // ShowSendToCloud // arrayOK: false // type: boolean // Should we include a ModeBar button, labeled "Edit in Chart Studio", that sends this chart to chart-studio.plotly.com (formerly plot.ly) or another plotly server as specified by `plotlyServerURL` for editing, export, etc? Prior to version 1.43.0 this button was included by default, now it is opt-in using this flag. Note that this button can (depending on `plotlyServerURL` being set) send your data to an external server. However that server does not persist your data until you arrive at the Chart Studio and explicitly click "Save". - ShowSendToCloud types.Bool `json:"showSendToCloud,omitempty"` + ShowSendToCloud types.BoolType `json:"showSendToCloud,omitempty"` // ShowSources // arrayOK: false @@ -213,13 +213,13 @@ type Config struct { // arrayOK: false // type: boolean // Determines whether or not tips are shown while interacting with the resulting graphs. - ShowTips types.Bool `json:"showTips,omitempty"` + ShowTips types.BoolType `json:"showTips,omitempty"` // StaticPlot // arrayOK: false // type: boolean // Determines whether the graphs are interactive or not. If *false*, no interactivity, for export or image generation. - StaticPlot types.Bool `json:"staticPlot,omitempty"` + StaticPlot types.BoolType `json:"staticPlot,omitempty"` // ToImageButtonOptions // arrayOK: false @@ -231,19 +231,19 @@ type Config struct { // arrayOK: false // type: string // Set the URL to topojson used in geo charts. By default, the topojson files are fetched from cdn.plot.ly. For example, set this option to: /dist/topojson/ to render geographical feature using the topojson files that ship with the plotly.js module. - TopojsonURL types.String `json:"topojsonURL,omitempty"` + TopojsonURL types.StringType `json:"topojsonURL,omitempty"` // TypesetMath // arrayOK: false // type: boolean // Determines whether math should be typeset or not, when MathJax (either v2 or v3) is present on the page. - TypesetMath types.Bool `json:"typesetMath,omitempty"` + TypesetMath types.BoolType `json:"typesetMath,omitempty"` // Watermark // arrayOK: false // type: boolean // watermark the images with the company's logo - Watermark types.Bool `json:"watermark,omitempty"` + Watermark types.BoolType `json:"watermark,omitempty"` } // ConfigEdits @@ -253,61 +253,61 @@ type ConfigEdits struct { // arrayOK: false // type: boolean // Determines if the main anchor of the annotation is editable. The main anchor corresponds to the text (if no arrow) or the arrow (which drags the whole thing leaving the arrow length & direction unchanged). - AnnotationPosition types.Bool `json:"annotationPosition,omitempty"` + AnnotationPosition types.BoolType `json:"annotationPosition,omitempty"` // AnnotationTail // arrayOK: false // type: boolean // Has only an effect for annotations with arrows. Enables changing the length and direction of the arrow. - AnnotationTail types.Bool `json:"annotationTail,omitempty"` + AnnotationTail types.BoolType `json:"annotationTail,omitempty"` // AnnotationText // arrayOK: false // type: boolean // Enables editing annotation text. - AnnotationText types.Bool `json:"annotationText,omitempty"` + AnnotationText types.BoolType `json:"annotationText,omitempty"` // AxisTitleText // arrayOK: false // type: boolean // Enables editing axis title text. - AxisTitleText types.Bool `json:"axisTitleText,omitempty"` + AxisTitleText types.BoolType `json:"axisTitleText,omitempty"` // ColorbarPosition // arrayOK: false // type: boolean // Enables moving colorbars. - ColorbarPosition types.Bool `json:"colorbarPosition,omitempty"` + ColorbarPosition types.BoolType `json:"colorbarPosition,omitempty"` // ColorbarTitleText // arrayOK: false // type: boolean // Enables editing colorbar title text. - ColorbarTitleText types.Bool `json:"colorbarTitleText,omitempty"` + ColorbarTitleText types.BoolType `json:"colorbarTitleText,omitempty"` // LegendPosition // arrayOK: false // type: boolean // Enables moving the legend. - LegendPosition types.Bool `json:"legendPosition,omitempty"` + LegendPosition types.BoolType `json:"legendPosition,omitempty"` // LegendText // arrayOK: false // type: boolean // Enables editing the trace name fields from the legend - LegendText types.Bool `json:"legendText,omitempty"` + LegendText types.BoolType `json:"legendText,omitempty"` // ShapePosition // arrayOK: false // type: boolean // Enables moving shapes. - ShapePosition types.Bool `json:"shapePosition,omitempty"` + ShapePosition types.BoolType `json:"shapePosition,omitempty"` // TitleText // arrayOK: false // type: boolean // Enables editing the global layout title. - TitleText types.Bool `json:"titleText,omitempty"` + TitleText types.BoolType `json:"titleText,omitempty"` } // ConfigDisplayModeBar Determines the mode bar display mode. If *true*, the mode bar is always visible. If *false*, the mode bar is always hidden. If *hover*, the mode bar is visible while the mouse cursor is on the graph container. diff --git a/generated/v2.34.0/graph_objects/contour_gen.go b/generated/v2.34.0/graph_objects/contour_gen.go index 2a496ff..9c89c9b 100644 --- a/generated/v2.34.0/graph_objects/contour_gen.go +++ b/generated/v2.34.0/graph_objects/contour_gen.go @@ -32,19 +32,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -61,7 +61,7 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -80,19 +80,19 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Fillcolor // arrayOK: false @@ -111,7 +111,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -122,19 +122,19 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -148,7 +148,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,19 +162,19 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -185,13 +185,13 @@ type Contour struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -208,43 +208,43 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -268,13 +268,13 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -285,13 +285,13 @@ type Contour struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,7 +324,7 @@ type Contour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -337,7 +337,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -362,7 +362,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -389,7 +389,7 @@ type Contour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -402,7 +402,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -427,7 +427,7 @@ type Contour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -448,43 +448,43 @@ type Contour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourColorbarTickfont Sets the color bar's tick label font @@ -500,7 +500,7 @@ type ContourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -513,13 +513,13 @@ type ContourColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -546,7 +546,7 @@ type ContourColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourColorbarTickformatstop @@ -562,25 +562,25 @@ type ContourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -596,7 +596,7 @@ type ContourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -609,13 +609,13 @@ type ContourColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -642,7 +642,7 @@ type ContourColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourColorbarTitle @@ -664,7 +664,7 @@ type ContourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourColorbar @@ -686,7 +686,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -711,7 +711,7 @@ type ContourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -724,13 +724,13 @@ type ContourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -749,13 +749,13 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -768,7 +768,7 @@ type ContourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -788,7 +788,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -807,7 +807,7 @@ type ContourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -824,7 +824,7 @@ type ContourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -849,13 +849,13 @@ type ContourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -868,7 +868,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -881,7 +881,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -895,7 +895,7 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -909,13 +909,13 @@ type ContourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -926,7 +926,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -939,7 +939,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -952,7 +952,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -965,7 +965,7 @@ type ContourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -988,7 +988,7 @@ type ContourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1001,13 +1001,13 @@ type ContourContoursLabelfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1034,7 +1034,7 @@ type ContourContoursLabelfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourContours @@ -1051,7 +1051,7 @@ type ContourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -1062,7 +1062,7 @@ type ContourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -1075,25 +1075,25 @@ type ContourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -1122,19 +1122,19 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1147,31 +1147,31 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1184,7 +1184,7 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1197,7 +1197,7 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1210,19 +1210,19 @@ type ContourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ContourHoverlabel @@ -1239,7 +1239,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1251,7 +1251,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1263,7 +1263,7 @@ type ContourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1274,13 +1274,13 @@ type ContourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ContourLegendgrouptitleFont Sets this legend group's title font. @@ -1296,7 +1296,7 @@ type ContourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1309,13 +1309,13 @@ type ContourLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1342,7 +1342,7 @@ type ContourLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourLegendgrouptitle @@ -1357,7 +1357,7 @@ type ContourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourLine @@ -1373,19 +1373,19 @@ type ContourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourStream @@ -1395,13 +1395,13 @@ type ContourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1417,7 +1417,7 @@ type ContourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1430,13 +1430,13 @@ type ContourTextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1463,7 +1463,7 @@ type ContourTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourTransform 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. diff --git a/generated/v2.34.0/graph_objects/contourcarpet_gen.go b/generated/v2.34.0/graph_objects/contourcarpet_gen.go index f2080ef..b8067c8 100644 --- a/generated/v2.34.0/graph_objects/contourcarpet_gen.go +++ b/generated/v2.34.0/graph_objects/contourcarpet_gen.go @@ -46,7 +46,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // Atype // arrayOK: false @@ -59,13 +59,13 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // B // arrayOK: false @@ -85,7 +85,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // Btype // arrayOK: false @@ -98,13 +98,13 @@ type Contourcarpet struct { // arrayOK: false // type: string // The `carpet` of the carpet axes on which this contour trace lies - Carpet types.String `json:"carpet,omitempty"` + Carpet types.StringType `json:"carpet,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -134,19 +134,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Da // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Da float64 `json:"da,omitempty"` + Da types.NumberType `json:"da,omitempty"` // Db // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Db float64 `json:"db,omitempty"` + Db types.NumberType `json:"db,omitempty"` // Fillcolor // arrayOK: false @@ -166,7 +166,7 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -180,19 +180,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -203,13 +203,13 @@ type Contourcarpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -226,43 +226,43 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -281,19 +281,19 @@ type Contourcarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transpose // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -312,13 +312,13 @@ type Contourcarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -332,37 +332,37 @@ type Contourcarpet struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ContourcarpetColorbarTickfont Sets the color bar's tick label font @@ -378,7 +378,7 @@ type ContourcarpetColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -391,13 +391,13 @@ type ContourcarpetColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -424,7 +424,7 @@ type ContourcarpetColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourcarpetColorbarTickformatstop @@ -440,25 +440,25 @@ type ContourcarpetColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ContourcarpetColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -474,7 +474,7 @@ type ContourcarpetColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -487,13 +487,13 @@ type ContourcarpetColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -520,7 +520,7 @@ type ContourcarpetColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourcarpetColorbarTitle @@ -542,7 +542,7 @@ type ContourcarpetColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetColorbar @@ -564,7 +564,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -589,7 +589,7 @@ type ContourcarpetColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -602,13 +602,13 @@ type ContourcarpetColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -627,13 +627,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -646,7 +646,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -666,7 +666,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -685,7 +685,7 @@ type ContourcarpetColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -702,7 +702,7 @@ type ContourcarpetColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -727,13 +727,13 @@ type ContourcarpetColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -746,7 +746,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -759,7 +759,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -773,7 +773,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -787,13 +787,13 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -804,7 +804,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -817,7 +817,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -830,7 +830,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -843,7 +843,7 @@ type ContourcarpetColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -866,7 +866,7 @@ type ContourcarpetContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -879,13 +879,13 @@ type ContourcarpetContoursLabelfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -912,7 +912,7 @@ type ContourcarpetContoursLabelfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourcarpetContours @@ -929,7 +929,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -940,7 +940,7 @@ type ContourcarpetContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -953,25 +953,25 @@ type ContourcarpetContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -1000,7 +1000,7 @@ type ContourcarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1013,13 +1013,13 @@ type ContourcarpetLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1046,7 +1046,7 @@ type ContourcarpetLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ContourcarpetLegendgrouptitle @@ -1061,7 +1061,7 @@ type ContourcarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ContourcarpetLine @@ -1077,19 +1077,19 @@ type ContourcarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) Defaults to *0.5* when `contours.type` is *levels*. Defaults to *2* when `contour.type` is *constraint*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ContourcarpetStream @@ -1099,13 +1099,13 @@ type ContourcarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ContourcarpetAtype If *array*, the heatmap's x coordinates are given by *x* (the default behavior when `x` is provided). If *scaled*, the heatmap's x coordinates are given by *x0* and *dx* (the default behavior when `x` is not provided). diff --git a/generated/v2.34.0/graph_objects/densitymapbox_gen.go b/generated/v2.34.0/graph_objects/densitymapbox_gen.go index 2285d61..7aedd63 100644 --- a/generated/v2.34.0/graph_objects/densitymapbox_gen.go +++ b/generated/v2.34.0/graph_objects/densitymapbox_gen.go @@ -32,19 +32,19 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Below // arrayOK: false // type: string // Determines if the densitymapbox trace will be inserted before the layer with the specified ID. By default, densitymapbox traces are placed below the first layer of type symbol If set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -69,7 +69,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -82,7 +82,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -93,25 +93,25 @@ type Densitymapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -125,7 +125,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -139,19 +139,19 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -162,13 +162,13 @@ type Densitymapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lon // arrayOK: false @@ -182,7 +182,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Meta // arrayOK: true @@ -194,49 +194,49 @@ type Densitymapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Radius // arrayOK: true // type: number // Sets the radius of influence of one `lon` / `lat` point in pixels. Increasing the value makes the densitymapbox trace smoother, but less detailed. - Radius *types.ArrayOK[*float64] `json:"radius,omitempty"` + Radius *types.ArrayOK[*types.NumberType] `json:"radius,omitempty"` // Radiussrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `radius`. - Radiussrc types.String `json:"radiussrc,omitempty"` + Radiussrc types.StringType `json:"radiussrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -247,19 +247,19 @@ type Densitymapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -270,7 +270,7 @@ type Densitymapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -297,31 +297,31 @@ type Densitymapbox struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // DensitymapboxColorbarTickfont Sets the color bar's tick label font @@ -337,7 +337,7 @@ type DensitymapboxColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -350,13 +350,13 @@ type DensitymapboxColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -383,7 +383,7 @@ type DensitymapboxColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // DensitymapboxColorbarTickformatstop @@ -399,25 +399,25 @@ type DensitymapboxColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // DensitymapboxColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -433,7 +433,7 @@ type DensitymapboxColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -446,13 +446,13 @@ type DensitymapboxColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -479,7 +479,7 @@ type DensitymapboxColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // DensitymapboxColorbarTitle @@ -501,7 +501,7 @@ type DensitymapboxColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxColorbar @@ -523,7 +523,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -548,7 +548,7 @@ type DensitymapboxColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -561,13 +561,13 @@ type DensitymapboxColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -586,13 +586,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -605,7 +605,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -625,7 +625,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -644,7 +644,7 @@ type DensitymapboxColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -661,7 +661,7 @@ type DensitymapboxColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -686,13 +686,13 @@ type DensitymapboxColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -705,7 +705,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -718,7 +718,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -732,7 +732,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -746,13 +746,13 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -763,7 +763,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -776,7 +776,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -789,7 +789,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -802,7 +802,7 @@ type DensitymapboxColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -825,19 +825,19 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -850,31 +850,31 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -887,7 +887,7 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -900,7 +900,7 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -913,19 +913,19 @@ type DensitymapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // DensitymapboxHoverlabel @@ -942,7 +942,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -954,7 +954,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -966,7 +966,7 @@ type DensitymapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -977,13 +977,13 @@ type DensitymapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // DensitymapboxLegendgrouptitleFont Sets this legend group's title font. @@ -999,7 +999,7 @@ type DensitymapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1012,13 +1012,13 @@ type DensitymapboxLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1045,7 +1045,7 @@ type DensitymapboxLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // DensitymapboxLegendgrouptitle @@ -1060,7 +1060,7 @@ type DensitymapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // DensitymapboxStream @@ -1070,13 +1070,13 @@ type DensitymapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // DensitymapboxTransform 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. diff --git a/generated/v2.34.0/graph_objects/frames_gen.go b/generated/v2.34.0/graph_objects/frames_gen.go index f17fece..2a15635 100644 --- a/generated/v2.34.0/graph_objects/frames_gen.go +++ b/generated/v2.34.0/graph_objects/frames_gen.go @@ -11,7 +11,7 @@ type Frame struct { // Baseframe // The name of the frame into which this frame's properties are merged before applying. This is used to unify properties and avoid needing to specify the same values for the same properties in multiple frames. - Baseframe types.String `json:"baseframe,omitempty"` + Baseframe types.StringType `json:"baseframe,omitempty"` // Data // A list of traces this frame modifies. The format is identical to the normal trace definition. @@ -19,15 +19,15 @@ type Frame struct { // Group // An identifier that specifies the group to which the frame belongs, used by animate to select a subset of frames. - Group types.String `json:"group,omitempty"` + Group types.StringType `json:"group,omitempty"` // Layout // Layout properties which this frame modifies. The format is identical to the normal layout definition. - Layout Layout `json:"layout,omitempty"` + Layout *Layout `json:"layout,omitempty"` // Name // A label by which to identify the frame - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Traces // A list of trace indices that identify the respective traces in the data attribute diff --git a/generated/v2.34.0/graph_objects/funnel_gen.go b/generated/v2.34.0/graph_objects/funnel_gen.go index b6807a4..f4006c2 100644 --- a/generated/v2.34.0/graph_objects/funnel_gen.go +++ b/generated/v2.34.0/graph_objects/funnel_gen.go @@ -32,13 +32,13 @@ type Funnel struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -64,19 +64,19 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -89,7 +89,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -100,25 +100,25 @@ type Funnel struct { // 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. Finally, the template string has access to variables `percentInitial`, `percentPrevious` and `percentTotal`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -132,7 +132,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -150,13 +150,13 @@ type Funnel struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Funnel struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -190,31 +190,31 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: false // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -238,7 +238,7 @@ type Funnel struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -249,13 +249,13 @@ type Funnel struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -280,25 +280,25 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `percentInitial`, `percentPrevious`, `percentTotal`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -309,7 +309,7 @@ type Funnel struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -328,7 +328,7 @@ type Funnel struct { // arrayOK: false // type: number // Sets the bar width (in position axis units). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -348,13 +348,13 @@ type Funnel struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -379,7 +379,7 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -399,13 +399,13 @@ type Funnel struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -430,13 +430,13 @@ type Funnel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // FunnelConnectorLine @@ -452,13 +452,13 @@ type FunnelConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // FunnelConnector @@ -479,7 +479,7 @@ type FunnelConnector struct { // arrayOK: false // type: boolean // Determines if connector regions and lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // FunnelHoverlabelFont Sets the font used in hover labels. @@ -495,19 +495,19 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -520,31 +520,31 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -557,7 +557,7 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -570,7 +570,7 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -583,19 +583,19 @@ type FunnelHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelHoverlabel @@ -612,7 +612,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -624,7 +624,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -636,7 +636,7 @@ type FunnelHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -647,13 +647,13 @@ type FunnelHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelInsidetextfont Sets the font used for `text` lying inside the bar. @@ -669,19 +669,19 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -694,31 +694,31 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -731,7 +731,7 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -744,7 +744,7 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -757,19 +757,19 @@ type FunnelInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelLegendgrouptitleFont Sets this legend group's title font. @@ -785,7 +785,7 @@ type FunnelLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -798,13 +798,13 @@ type FunnelLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -831,7 +831,7 @@ type FunnelLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // FunnelLegendgrouptitle @@ -846,7 +846,7 @@ type FunnelLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbarTickfont Sets the color bar's tick label font @@ -862,7 +862,7 @@ type FunnelMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -875,13 +875,13 @@ type FunnelMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -908,7 +908,7 @@ type FunnelMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // FunnelMarkerColorbarTickformatstop @@ -924,25 +924,25 @@ type FunnelMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // FunnelMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -958,7 +958,7 @@ type FunnelMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -971,13 +971,13 @@ type FunnelMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1004,7 +1004,7 @@ type FunnelMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // FunnelMarkerColorbarTitle @@ -1026,7 +1026,7 @@ type FunnelMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelMarkerColorbar @@ -1048,7 +1048,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1073,7 +1073,7 @@ type FunnelMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1086,13 +1086,13 @@ type FunnelMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1111,13 +1111,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1130,7 +1130,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1150,7 +1150,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1169,7 +1169,7 @@ type FunnelMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1186,7 +1186,7 @@ type FunnelMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1211,13 +1211,13 @@ type FunnelMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1230,7 +1230,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1243,7 +1243,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1257,7 +1257,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1271,13 +1271,13 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1288,7 +1288,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1301,7 +1301,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1314,7 +1314,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1327,7 +1327,7 @@ type FunnelMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1344,31 +1344,31 @@ type FunnelMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1380,7 +1380,7 @@ type FunnelMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1392,25 +1392,25 @@ type FunnelMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelMarker @@ -1420,31 +1420,31 @@ type FunnelMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1456,7 +1456,7 @@ type FunnelMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1473,7 +1473,7 @@ type FunnelMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1484,25 +1484,25 @@ type FunnelMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // FunnelOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1518,19 +1518,19 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1543,31 +1543,31 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1580,7 +1580,7 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1593,7 +1593,7 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1606,19 +1606,19 @@ type FunnelOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelStream @@ -1628,13 +1628,13 @@ type FunnelStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelTextfont Sets the font used for `text`. @@ -1650,19 +1650,19 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1675,31 +1675,31 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1712,7 +1712,7 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1725,7 +1725,7 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1738,19 +1738,19 @@ type FunnelTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelTransform 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. diff --git a/generated/v2.34.0/graph_objects/funnelarea_gen.go b/generated/v2.34.0/graph_objects/funnelarea_gen.go index c612bc8..3cd7841 100644 --- a/generated/v2.34.0/graph_objects/funnelarea_gen.go +++ b/generated/v2.34.0/graph_objects/funnelarea_gen.go @@ -32,13 +32,13 @@ type Funnelarea struct { // arrayOK: false // type: number // Sets the ratio between height and width - Aspectratio float64 `json:"aspectratio,omitempty"` + Aspectratio types.NumberType `json:"aspectratio,omitempty"` // Baseratio // arrayOK: false // type: number // Sets the ratio between bottom length and maximum top length. - Baseratio float64 `json:"baseratio,omitempty"` + Baseratio types.NumberType `json:"baseratio,omitempty"` // Customdata // arrayOK: false @@ -52,13 +52,13 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dlabel // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -76,7 +76,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -87,25 +87,25 @@ type Funnelarea struct { // 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. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -119,7 +119,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -130,7 +130,7 @@ type Funnelarea struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -144,19 +144,19 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -167,13 +167,13 @@ type Funnelarea struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -190,31 +190,31 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple funnelareas that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -252,25 +252,25 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `label`, `color`, `value`, `text` and `percent`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -286,7 +286,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -306,7 +306,7 @@ type Funnelarea struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -323,13 +323,13 @@ type FunnelareaDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this funnelarea trace . - Column int64 `json:"column,omitempty"` + 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 funnelarea trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -357,19 +357,19 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -382,31 +382,31 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -419,7 +419,7 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -432,7 +432,7 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -445,19 +445,19 @@ type FunnelareaHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelareaHoverlabel @@ -474,7 +474,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -486,7 +486,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -498,7 +498,7 @@ type FunnelareaHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -509,13 +509,13 @@ type FunnelareaHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // FunnelareaInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -531,19 +531,19 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -556,31 +556,31 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -593,7 +593,7 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -606,7 +606,7 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -619,19 +619,19 @@ type FunnelareaInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelareaLegendgrouptitleFont Sets this legend group's title font. @@ -647,7 +647,7 @@ type FunnelareaLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -660,13 +660,13 @@ type FunnelareaLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -693,7 +693,7 @@ type FunnelareaLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // FunnelareaLegendgrouptitle @@ -708,7 +708,7 @@ type FunnelareaLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaMarkerLine @@ -724,19 +724,19 @@ type FunnelareaMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // FunnelareaMarkerPattern Sets the pattern within the marker. @@ -752,7 +752,7 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -764,13 +764,13 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -790,31 +790,31 @@ type FunnelareaMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // FunnelareaMarker @@ -832,7 +832,7 @@ type FunnelareaMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -852,13 +852,13 @@ type FunnelareaStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // FunnelareaTextfont Sets the font used for `textinfo`. @@ -874,19 +874,19 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -899,31 +899,31 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -936,7 +936,7 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -949,7 +949,7 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -962,19 +962,19 @@ type FunnelareaTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelareaTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -990,19 +990,19 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1015,31 +1015,31 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1052,7 +1052,7 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1065,7 +1065,7 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1078,19 +1078,19 @@ type FunnelareaTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // FunnelareaTitle @@ -1112,7 +1112,7 @@ type FunnelareaTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // FunnelareaTransform 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. diff --git a/generated/v2.34.0/graph_objects/heatmap_gen.go b/generated/v2.34.0/graph_objects/heatmap_gen.go index 25a19c3..d2ff080 100644 --- a/generated/v2.34.0/graph_objects/heatmap_gen.go +++ b/generated/v2.34.0/graph_objects/heatmap_gen.go @@ -32,13 +32,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -55,7 +55,7 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. It is defaulted to true if `z` is a one dimensional array and `zsmooth` is not false; otherwise it is defaulted to false. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -69,19 +69,19 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -94,7 +94,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,19 +105,19 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data have hover labels associated with them. - Hoverongaps types.Bool `json:"hoverongaps,omitempty"` + Hoverongaps types.BoolType `json:"hoverongaps,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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -131,7 +131,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -145,19 +145,19 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -168,13 +168,13 @@ type Heatmap struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -186,37 +186,37 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -240,13 +240,13 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -257,13 +257,13 @@ type Heatmap struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -296,7 +296,7 @@ type Heatmap struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -309,13 +309,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -340,7 +340,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -367,7 +367,7 @@ type Heatmap struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -380,13 +380,13 @@ type Heatmap struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -411,7 +411,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -432,37 +432,37 @@ type Heatmap struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsmooth // arrayOK: false @@ -475,7 +475,7 @@ type Heatmap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapColorbarTickfont Sets the color bar's tick label font @@ -491,7 +491,7 @@ type HeatmapColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -504,13 +504,13 @@ type HeatmapColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -537,7 +537,7 @@ type HeatmapColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HeatmapColorbarTickformatstop @@ -553,25 +553,25 @@ type HeatmapColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -587,7 +587,7 @@ type HeatmapColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -600,13 +600,13 @@ type HeatmapColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -633,7 +633,7 @@ type HeatmapColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HeatmapColorbarTitle @@ -655,7 +655,7 @@ type HeatmapColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapColorbar @@ -677,7 +677,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -702,7 +702,7 @@ type HeatmapColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -715,13 +715,13 @@ type HeatmapColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -740,13 +740,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -759,7 +759,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -779,7 +779,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -798,7 +798,7 @@ type HeatmapColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -815,7 +815,7 @@ type HeatmapColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -840,13 +840,13 @@ type HeatmapColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -859,7 +859,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -872,7 +872,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -886,7 +886,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -900,13 +900,13 @@ type HeatmapColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -917,7 +917,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -930,7 +930,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -943,7 +943,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -956,7 +956,7 @@ type HeatmapColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -979,19 +979,19 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1004,31 +1004,31 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1041,7 +1041,7 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1054,7 +1054,7 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1067,19 +1067,19 @@ type HeatmapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // HeatmapHoverlabel @@ -1096,7 +1096,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1108,7 +1108,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1120,7 +1120,7 @@ type HeatmapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1131,13 +1131,13 @@ type HeatmapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapLegendgrouptitleFont Sets this legend group's title font. @@ -1153,7 +1153,7 @@ type HeatmapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1166,13 +1166,13 @@ type HeatmapLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1199,7 +1199,7 @@ type HeatmapLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HeatmapLegendgrouptitle @@ -1214,7 +1214,7 @@ type HeatmapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapStream @@ -1224,13 +1224,13 @@ type HeatmapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapTextfont Sets the text font. @@ -1246,7 +1246,7 @@ type HeatmapTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1259,13 +1259,13 @@ type HeatmapTextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1292,7 +1292,7 @@ type HeatmapTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HeatmapTransform 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. diff --git a/generated/v2.34.0/graph_objects/heatmapgl_gen.go b/generated/v2.34.0/graph_objects/heatmapgl_gen.go index 240ff96..32c7ed4 100644 --- a/generated/v2.34.0/graph_objects/heatmapgl_gen.go +++ b/generated/v2.34.0/graph_objects/heatmapgl_gen.go @@ -32,13 +32,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -63,19 +63,19 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -88,7 +88,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -107,13 +107,13 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -124,13 +124,13 @@ type Heatmapgl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -142,31 +142,31 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -185,7 +185,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -196,13 +196,13 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Transposes the z data. - Transpose types.Bool `json:"transpose,omitempty"` + Transpose types.BoolType `json:"transpose,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -235,13 +235,13 @@ type Heatmapgl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xtype // arrayOK: false @@ -268,13 +268,13 @@ type Heatmapgl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Ytype // arrayOK: false @@ -295,25 +295,25 @@ type Heatmapgl struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -326,7 +326,7 @@ type Heatmapgl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // HeatmapglColorbarTickfont Sets the color bar's tick label font @@ -342,7 +342,7 @@ type HeatmapglColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -355,13 +355,13 @@ type HeatmapglColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -388,7 +388,7 @@ type HeatmapglColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HeatmapglColorbarTickformatstop @@ -404,25 +404,25 @@ type HeatmapglColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HeatmapglColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -438,7 +438,7 @@ type HeatmapglColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -451,13 +451,13 @@ type HeatmapglColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -484,7 +484,7 @@ type HeatmapglColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HeatmapglColorbarTitle @@ -506,7 +506,7 @@ type HeatmapglColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglColorbar @@ -528,7 +528,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -553,7 +553,7 @@ type HeatmapglColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -566,13 +566,13 @@ type HeatmapglColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -591,13 +591,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -610,7 +610,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -630,7 +630,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -649,7 +649,7 @@ type HeatmapglColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -666,7 +666,7 @@ type HeatmapglColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -691,13 +691,13 @@ type HeatmapglColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -710,7 +710,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -723,7 +723,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -737,7 +737,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -751,13 +751,13 @@ type HeatmapglColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -768,7 +768,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -781,7 +781,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -794,7 +794,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -807,7 +807,7 @@ type HeatmapglColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -830,19 +830,19 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -855,31 +855,31 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -892,7 +892,7 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -905,7 +905,7 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -918,19 +918,19 @@ type HeatmapglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // HeatmapglHoverlabel @@ -947,7 +947,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -959,7 +959,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -971,7 +971,7 @@ type HeatmapglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -982,13 +982,13 @@ type HeatmapglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HeatmapglLegendgrouptitleFont Sets this legend group's title font. @@ -1004,7 +1004,7 @@ type HeatmapglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1017,13 +1017,13 @@ type HeatmapglLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1050,7 +1050,7 @@ type HeatmapglLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HeatmapglLegendgrouptitle @@ -1065,7 +1065,7 @@ type HeatmapglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HeatmapglStream @@ -1075,13 +1075,13 @@ type HeatmapglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HeatmapglTransform 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. diff --git a/generated/v2.34.0/graph_objects/histogram2d_gen.go b/generated/v2.34.0/graph_objects/histogram2d_gen.go index e44041c..5e5cf13 100644 --- a/generated/v2.34.0/graph_objects/histogram2d_gen.go +++ b/generated/v2.34.0/graph_objects/histogram2d_gen.go @@ -32,31 +32,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -81,7 +81,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -108,7 +108,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -119,13 +119,13 @@ type Histogram2d struct { // 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. Finally, the template string has access to variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -139,19 +139,19 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -162,13 +162,13 @@ type Histogram2d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -185,49 +185,49 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -243,7 +243,7 @@ type Histogram2d struct { // arrayOK: false // 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. Finally, the template string has access to variable `z` - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -254,7 +254,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -281,13 +281,13 @@ type Histogram2d struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -305,19 +305,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the horizontal gap (in pixels) between bricks. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -331,13 +331,13 @@ type Histogram2d struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -355,19 +355,19 @@ type Histogram2d struct { // arrayOK: false // type: number // Sets the vertical gap (in pixels) between bricks. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -381,31 +381,31 @@ type Histogram2d struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsmooth // arrayOK: false @@ -418,7 +418,7 @@ type Histogram2d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dColorbarTickfont Sets the color bar's tick label font @@ -434,7 +434,7 @@ type Histogram2dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -447,13 +447,13 @@ type Histogram2dColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -480,7 +480,7 @@ type Histogram2dColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dColorbarTickformatstop @@ -496,25 +496,25 @@ type Histogram2dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -530,7 +530,7 @@ type Histogram2dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -543,13 +543,13 @@ type Histogram2dColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -576,7 +576,7 @@ type Histogram2dColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dColorbarTitle @@ -598,7 +598,7 @@ type Histogram2dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dColorbar @@ -620,7 +620,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -645,7 +645,7 @@ type Histogram2dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -658,13 +658,13 @@ type Histogram2dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -683,13 +683,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -702,7 +702,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -722,7 +722,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -741,7 +741,7 @@ type Histogram2dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -758,7 +758,7 @@ type Histogram2dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -783,13 +783,13 @@ type Histogram2dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -802,7 +802,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -815,7 +815,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -829,7 +829,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -843,13 +843,13 @@ type Histogram2dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -860,7 +860,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -873,7 +873,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -886,7 +886,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -899,7 +899,7 @@ type Histogram2dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -922,19 +922,19 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -947,31 +947,31 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -984,7 +984,7 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -997,7 +997,7 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1010,19 +1010,19 @@ type Histogram2dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // Histogram2dHoverlabel @@ -1039,7 +1039,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1051,7 +1051,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1063,7 +1063,7 @@ type Histogram2dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1074,13 +1074,13 @@ type Histogram2dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dLegendgrouptitleFont Sets this legend group's title font. @@ -1096,7 +1096,7 @@ type Histogram2dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1109,13 +1109,13 @@ type Histogram2dLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1142,7 +1142,7 @@ type Histogram2dLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dLegendgrouptitle @@ -1157,7 +1157,7 @@ type Histogram2dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dMarker @@ -1175,7 +1175,7 @@ type Histogram2dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dStream @@ -1185,13 +1185,13 @@ type Histogram2dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dTextfont Sets the text font. @@ -1207,7 +1207,7 @@ type Histogram2dTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1220,13 +1220,13 @@ type Histogram2dTextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1253,7 +1253,7 @@ type Histogram2dTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dTransform 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. diff --git a/generated/v2.34.0/graph_objects/histogram2dcontour_gen.go b/generated/v2.34.0/graph_objects/histogram2dcontour_gen.go index 1a0ee4f..e2c4409 100644 --- a/generated/v2.34.0/graph_objects/histogram2dcontour_gen.go +++ b/generated/v2.34.0/graph_objects/histogram2dcontour_gen.go @@ -32,37 +32,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Autocontour // arrayOK: false // type: boolean // Determines whether or not the contour level attributes are picked by an algorithm. If *true*, the number of contour levels can be set in `ncontours`. If *false*, set the contour level attributes in `contours`. - Autocontour types.Bool `json:"autocontour,omitempty"` + Autocontour types.BoolType `json:"autocontour,omitempty"` // Bingroup // arrayOK: false // type: string // Set the `xbingroup` and `ybingroup` default prefix For example, setting a `bingroup` of *1* on two histogram2d traces will make them their x-bins and y-bins match separately. - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -92,7 +92,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Histfunc // arrayOK: false @@ -119,7 +119,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,13 +130,13 @@ type Histogram2dcontour struct { // 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. Finally, the template string has access to variable `z` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Ids // arrayOK: false @@ -150,19 +150,19 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -173,13 +173,13 @@ type Histogram2dcontour struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -201,55 +201,55 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Ncontours // arrayOK: false // type: integer // Sets the maximum number of contour levels. The actual number of contours will be chosen automatically to be less than or equal to the value of `ncontours`. Has an effect only if `autocontour` is *true* or if `contours.size` is missing. - Ncontours int64 `json:"ncontours,omitempty"` + Ncontours types.IntegerType `json:"ncontours,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `zmin` will correspond to the last color in the array and `zmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -265,7 +265,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // For this trace it only has an effect if `coloring` is set to *heatmap*. 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. Finally, the template string has access to variables `x`, `y`, `z` and `text`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -276,7 +276,7 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -303,13 +303,13 @@ type Histogram2dcontour struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible x-bin settings. Using `xbingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible x-bin settings. Note that the same `xbingroup` value can be used to set (1D) histogram `bingroup` - Xbingroup types.String `json:"xbingroup,omitempty"` + Xbingroup types.StringType `json:"xbingroup,omitempty"` // Xbins // arrayOK: false @@ -327,13 +327,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -347,13 +347,13 @@ type Histogram2dcontour struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible y-bin settings. Using `ybingroup`, histogram2d and histogram2dcontour traces (on axes of the same axis type) can have compatible y-bin settings. Note that the same `ybingroup` value can be used to set (1D) histogram `bingroup` - Ybingroup types.String `json:"ybingroup,omitempty"` + Ybingroup types.StringType `json:"ybingroup,omitempty"` // Ybins // arrayOK: false @@ -371,13 +371,13 @@ type Histogram2dcontour struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -391,37 +391,37 @@ type Histogram2dcontour struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here in `z`) or the bounds set in `zmin` and `zmax` Defaults to `false` when `zmin` and `zmax` are set by the user. - Zauto types.Bool `json:"zauto,omitempty"` + Zauto types.BoolType `json:"zauto,omitempty"` // Zhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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.By default the values are formatted using generic number format. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as in `z` and if set, `zmin` must be set as well. - Zmax float64 `json:"zmax,omitempty"` + Zmax types.NumberType `json:"zmax,omitempty"` // Zmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `zmin` and/or `zmax` to be equidistant to this point. Value should have the same units as in `z`. Has no effect when `zauto` is `false`. - Zmid float64 `json:"zmid,omitempty"` + Zmid types.NumberType `json:"zmid,omitempty"` // Zmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as in `z` and if set, `zmax` must be set as well. - Zmin float64 `json:"zmin,omitempty"` + Zmin types.NumberType `json:"zmin,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Histogram2dcontourColorbarTickfont Sets the color bar's tick label font @@ -437,7 +437,7 @@ type Histogram2dcontourColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -450,13 +450,13 @@ type Histogram2dcontourColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -483,7 +483,7 @@ type Histogram2dcontourColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dcontourColorbarTickformatstop @@ -499,25 +499,25 @@ type Histogram2dcontourColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Histogram2dcontourColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -533,7 +533,7 @@ type Histogram2dcontourColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -546,13 +546,13 @@ type Histogram2dcontourColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -579,7 +579,7 @@ type Histogram2dcontourColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dcontourColorbarTitle @@ -601,7 +601,7 @@ type Histogram2dcontourColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourColorbar @@ -623,7 +623,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -648,7 +648,7 @@ type Histogram2dcontourColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -661,13 +661,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -686,13 +686,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -705,7 +705,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -725,7 +725,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -744,7 +744,7 @@ type Histogram2dcontourColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -761,7 +761,7 @@ type Histogram2dcontourColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -786,13 +786,13 @@ type Histogram2dcontourColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -805,7 +805,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -818,7 +818,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -832,7 +832,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -846,13 +846,13 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -863,7 +863,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -876,7 +876,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -889,7 +889,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -902,7 +902,7 @@ type Histogram2dcontourColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -925,7 +925,7 @@ type Histogram2dcontourContoursLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -938,13 +938,13 @@ type Histogram2dcontourContoursLabelfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -971,7 +971,7 @@ type Histogram2dcontourContoursLabelfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dcontourContours @@ -988,7 +988,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Labelfont // arrayOK: false @@ -999,7 +999,7 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: string // Sets the contour 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. - Labelformat types.String `json:"labelformat,omitempty"` + Labelformat types.StringType `json:"labelformat,omitempty"` // Operation // arrayOK: false @@ -1012,25 +1012,25 @@ type Histogram2dcontourContours struct { // arrayOK: false // type: boolean // Determines whether to label the contour lines with their values. - Showlabels types.Bool `json:"showlabels,omitempty"` + Showlabels types.BoolType `json:"showlabels,omitempty"` // Showlines // arrayOK: false // type: boolean // Determines whether or not the contour lines are drawn. Has an effect only if `contours.coloring` is set to *fill*. - Showlines types.Bool `json:"showlines,omitempty"` + Showlines types.BoolType `json:"showlines,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Type // arrayOK: false @@ -1059,19 +1059,19 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1084,31 +1084,31 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1121,7 +1121,7 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1134,7 +1134,7 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1147,19 +1147,19 @@ type Histogram2dcontourHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // Histogram2dcontourHoverlabel @@ -1176,7 +1176,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1188,7 +1188,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1200,7 +1200,7 @@ type Histogram2dcontourHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1211,13 +1211,13 @@ type Histogram2dcontourHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Histogram2dcontourLegendgrouptitleFont Sets this legend group's title font. @@ -1233,7 +1233,7 @@ type Histogram2dcontourLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1246,13 +1246,13 @@ type Histogram2dcontourLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1279,7 +1279,7 @@ type Histogram2dcontourLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dcontourLegendgrouptitle @@ -1294,7 +1294,7 @@ type Histogram2dcontourLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Histogram2dcontourLine @@ -1310,19 +1310,19 @@ type Histogram2dcontourLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Smoothing // arrayOK: false // type: number // Sets the amount of smoothing for the contour lines, where *0* corresponds to no smoothing. - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the contour line width in (in px) - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Histogram2dcontourMarker @@ -1340,7 +1340,7 @@ type Histogram2dcontourMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // Histogram2dcontourStream @@ -1350,13 +1350,13 @@ type Histogram2dcontourStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Histogram2dcontourTextfont For this trace it only has an effect if `coloring` is set to *heatmap*. Sets the text font. @@ -1372,7 +1372,7 @@ type Histogram2dcontourTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1385,13 +1385,13 @@ type Histogram2dcontourTextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1418,7 +1418,7 @@ type Histogram2dcontourTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Histogram2dcontourTransform 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. diff --git a/generated/v2.34.0/graph_objects/histogram_gen.go b/generated/v2.34.0/graph_objects/histogram_gen.go index 394dd7a..deb5c28 100644 --- a/generated/v2.34.0/graph_objects/histogram_gen.go +++ b/generated/v2.34.0/graph_objects/histogram_gen.go @@ -32,31 +32,31 @@ type Histogram struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Autobinx // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobinx` is not needed. However, we accept `autobinx: true` or `false` and will update `xbins` accordingly before deleting `autobinx` from the trace. - Autobinx types.Bool `json:"autobinx,omitempty"` + Autobinx types.BoolType `json:"autobinx,omitempty"` // Autobiny // arrayOK: false // type: boolean // Obsolete: since v1.42 each bin attribute is auto-determined separately and `autobiny` is not needed. However, we accept `autobiny: true` or `false` and will update `ybins` accordingly before deleting `autobiny` from the trace. - Autobiny types.Bool `json:"autobiny,omitempty"` + Autobiny types.BoolType `json:"autobiny,omitempty"` // Bingroup // arrayOK: false // type: string // Set a group of histogram traces which will have compatible bin settings. Note that traces on the same subplot and with the same *orientation* under `barmode` *stack*, *relative* and *group* are forced into the same bingroup, Using `bingroup`, traces under `barmode` *overlay* and on different axes (of the same axis type) can have compatible bin settings. Note that histogram and histogram2d* trace can share the same `bingroup` - Bingroup types.String `json:"bingroup,omitempty"` + Bingroup types.StringType `json:"bingroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Constraintext // arrayOK: false @@ -82,7 +82,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -119,7 +119,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -130,25 +130,25 @@ type Histogram struct { // 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. Finally, the template string has access to variable `binNumber` Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -162,7 +162,7 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextanchor // arrayOK: false @@ -180,13 +180,13 @@ type Histogram struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -197,13 +197,13 @@ type Histogram struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -220,37 +220,37 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Nbinsx // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `xbins.size` is provided. - Nbinsx int64 `json:"nbinsx,omitempty"` + Nbinsx types.IntegerType `json:"nbinsx,omitempty"` // Nbinsy // arrayOK: false // type: integer // Specifies the maximum number of desired bins. This value will be used in an algorithm that will decide the optimal bin size such that the histogram best visualizes the distribution of the data. Ignored if `ybins.size` is provided. - Nbinsy int64 `json:"nbinsy,omitempty"` + Nbinsy types.IntegerType `json:"nbinsy,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -279,7 +279,7 @@ type Histogram struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -290,13 +290,13 @@ type Histogram struct { // arrayOK: true // type: string // Sets hover text elements associated with each bar. If a single string, the same string appears over all bars. If an array of string, the items are mapped in order to the this trace's coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -314,13 +314,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Texttemplate // arrayOK: false // 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. Finally, the template string has access to variables `label` and `value`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Transforms // role: Object @@ -331,7 +331,7 @@ type Histogram struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -363,7 +363,7 @@ type Histogram struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbins // arrayOK: false @@ -381,13 +381,13 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -401,7 +401,7 @@ type Histogram struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybins // arrayOK: false @@ -419,19 +419,19 @@ type Histogram struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // HistogramCumulative @@ -455,7 +455,7 @@ type HistogramCumulative struct { // arrayOK: false // type: boolean // If true, display the cumulative distribution by summing the binned values. Use the `direction` and `centralbin` attributes to tune the accumulation method. Note: in this mode, the *density* `histnorm` settings behave the same as their equivalents without *density*: ** and *density* both rise to the number of data points, and *probability* and *probability density* both rise to the number of sample points. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` } // HistogramErrorX @@ -481,13 +481,13 @@ type HistogramErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -499,31 +499,31 @@ type HistogramErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -536,25 +536,25 @@ type HistogramErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramErrorY @@ -580,13 +580,13 @@ type HistogramErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -598,25 +598,25 @@ type HistogramErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -629,25 +629,25 @@ type HistogramErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // HistogramHoverlabelFont Sets the font used in hover labels. @@ -663,19 +663,19 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -688,31 +688,31 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -725,7 +725,7 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -738,7 +738,7 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -751,19 +751,19 @@ type HistogramHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // HistogramHoverlabel @@ -780,7 +780,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -792,7 +792,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -804,7 +804,7 @@ type HistogramHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -815,13 +815,13 @@ type HistogramHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // HistogramInsidetextfont Sets the font used for `text` lying inside the bar. @@ -837,7 +837,7 @@ type HistogramInsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -850,13 +850,13 @@ type HistogramInsidetextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -883,7 +883,7 @@ type HistogramInsidetextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HistogramLegendgrouptitleFont Sets this legend group's title font. @@ -899,7 +899,7 @@ type HistogramLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -912,13 +912,13 @@ type HistogramLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -945,7 +945,7 @@ type HistogramLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HistogramLegendgrouptitle @@ -960,7 +960,7 @@ type HistogramLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbarTickfont Sets the color bar's tick label font @@ -976,7 +976,7 @@ type HistogramMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -989,13 +989,13 @@ type HistogramMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1022,7 +1022,7 @@ type HistogramMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HistogramMarkerColorbarTickformatstop @@ -1038,25 +1038,25 @@ type HistogramMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // HistogramMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1072,7 +1072,7 @@ type HistogramMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1085,13 +1085,13 @@ type HistogramMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1118,7 +1118,7 @@ type HistogramMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HistogramMarkerColorbarTitle @@ -1140,7 +1140,7 @@ type HistogramMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // HistogramMarkerColorbar @@ -1162,7 +1162,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1187,7 +1187,7 @@ type HistogramMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1200,13 +1200,13 @@ type HistogramMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1225,13 +1225,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1244,7 +1244,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1264,7 +1264,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1283,7 +1283,7 @@ type HistogramMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1300,7 +1300,7 @@ type HistogramMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1325,13 +1325,13 @@ type HistogramMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1344,7 +1344,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1357,7 +1357,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1371,7 +1371,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1385,13 +1385,13 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1402,7 +1402,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1415,7 +1415,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1428,7 +1428,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1441,7 +1441,7 @@ type HistogramMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1458,31 +1458,31 @@ type HistogramMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1494,7 +1494,7 @@ type HistogramMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1506,25 +1506,25 @@ type HistogramMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // HistogramMarkerPattern Sets the pattern within the marker. @@ -1540,7 +1540,7 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1552,13 +1552,13 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1578,31 +1578,31 @@ type HistogramMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // HistogramMarker @@ -1612,31 +1612,31 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1648,7 +1648,7 @@ type HistogramMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1665,7 +1665,7 @@ type HistogramMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Cornerradius // arrayOK: false @@ -1682,13 +1682,13 @@ type HistogramMarker struct { // arrayOK: true // type: number // Sets the opacity of the bars. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Pattern // arrayOK: false @@ -1699,13 +1699,13 @@ type HistogramMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // HistogramOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -1721,7 +1721,7 @@ type HistogramOutsidetextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1734,13 +1734,13 @@ type HistogramOutsidetextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1767,7 +1767,7 @@ type HistogramOutsidetextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HistogramSelectedMarker @@ -1783,7 +1783,7 @@ type HistogramSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramSelectedTextfont @@ -1817,13 +1817,13 @@ type HistogramStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // HistogramTextfont Sets the text font. @@ -1839,7 +1839,7 @@ type HistogramTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1852,13 +1852,13 @@ type HistogramTextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1885,7 +1885,7 @@ type HistogramTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // HistogramTransform 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. @@ -1905,7 +1905,7 @@ type HistogramUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // HistogramUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/icicle_gen.go b/generated/v2.34.0/graph_objects/icicle_gen.go index 97c04f5..8f255ba 100644 --- a/generated/v2.34.0/graph_objects/icicle_gen.go +++ b/generated/v2.34.0/graph_objects/icicle_gen.go @@ -54,7 +54,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Icicle struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,7 +134,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -145,7 +145,7 @@ type Icicle struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -156,13 +156,13 @@ type Icicle struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -179,7 +179,7 @@ type Icicle struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -191,19 +191,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -222,7 +222,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -238,7 +238,7 @@ type Icicle struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -276,19 +276,19 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -304,7 +304,7 @@ type Icicle struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,7 +324,7 @@ type Icicle struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -341,13 +341,13 @@ type IcicleDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this icicle trace . - Column int64 `json:"column,omitempty"` + 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 icicle trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -375,19 +375,19 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -400,31 +400,31 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -437,7 +437,7 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -450,7 +450,7 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -463,19 +463,19 @@ type IcicleHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // IcicleHoverlabel @@ -492,7 +492,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -504,7 +504,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -516,7 +516,7 @@ type IcicleHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -527,13 +527,13 @@ type IcicleHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IcicleInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -549,19 +549,19 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -574,31 +574,31 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -611,7 +611,7 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -624,7 +624,7 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -637,19 +637,19 @@ type IcicleInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // IcicleLeaf @@ -659,7 +659,7 @@ type IcicleLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // IcicleLegendgrouptitleFont Sets this legend group's title font. @@ -675,7 +675,7 @@ type IcicleLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -688,13 +688,13 @@ type IcicleLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -721,7 +721,7 @@ type IcicleLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IcicleLegendgrouptitle @@ -736,7 +736,7 @@ type IcicleLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbarTickfont Sets the color bar's tick label font @@ -752,7 +752,7 @@ type IcicleMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -765,13 +765,13 @@ type IcicleMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -798,7 +798,7 @@ type IcicleMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IcicleMarkerColorbarTickformatstop @@ -814,25 +814,25 @@ type IcicleMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IcicleMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -848,7 +848,7 @@ type IcicleMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -861,13 +861,13 @@ type IcicleMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -894,7 +894,7 @@ type IcicleMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IcicleMarkerColorbarTitle @@ -916,7 +916,7 @@ type IcicleMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IcicleMarkerColorbar @@ -938,7 +938,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -963,7 +963,7 @@ type IcicleMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -976,13 +976,13 @@ type IcicleMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1001,13 +1001,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1020,7 +1020,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1040,7 +1040,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1059,7 +1059,7 @@ type IcicleMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1076,7 +1076,7 @@ type IcicleMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1101,13 +1101,13 @@ type IcicleMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1120,7 +1120,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1133,7 +1133,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1147,7 +1147,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1161,13 +1161,13 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1178,7 +1178,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1191,7 +1191,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1204,7 +1204,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1217,7 +1217,7 @@ type IcicleMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1240,19 +1240,19 @@ type IcicleMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // IcicleMarkerPattern Sets the pattern within the marker. @@ -1268,7 +1268,7 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1280,13 +1280,13 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1306,31 +1306,31 @@ type IcicleMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // IcicleMarker @@ -1340,37 +1340,37 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1395,7 +1395,7 @@ type IcicleMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1411,13 +1411,13 @@ type IcicleMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // IcicleOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1433,19 +1433,19 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1458,31 +1458,31 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1495,7 +1495,7 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1508,7 +1508,7 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1521,19 +1521,19 @@ type IcicleOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // IciclePathbarTextfont Sets the font used inside `pathbar`. @@ -1549,19 +1549,19 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1574,31 +1574,31 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1611,7 +1611,7 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1624,7 +1624,7 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1637,19 +1637,19 @@ type IciclePathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // IciclePathbar @@ -1678,13 +1678,13 @@ type IciclePathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IcicleRoot @@ -1704,13 +1704,13 @@ type IcicleStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IcicleTextfont Sets the font used for `textinfo`. @@ -1726,19 +1726,19 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1751,31 +1751,31 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1788,7 +1788,7 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1801,7 +1801,7 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1814,19 +1814,19 @@ type IcicleTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // IcicleTiling @@ -1850,7 +1850,7 @@ type IcicleTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` } // IcicleTransform 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. diff --git a/generated/v2.34.0/graph_objects/image_gen.go b/generated/v2.34.0/graph_objects/image_gen.go index a78d3da..14c5cc9 100644 --- a/generated/v2.34.0/graph_objects/image_gen.go +++ b/generated/v2.34.0/graph_objects/image_gen.go @@ -47,19 +47,19 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Set the pixel's horizontal size. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Set the pixel's vertical size - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -72,7 +72,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,13 +83,13 @@ type Image struct { // 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. Finally, the template string has access to variables `z`, `color` and `colormodel`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false @@ -103,7 +103,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,13 +117,13 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -134,13 +134,13 @@ type Image struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -152,25 +152,25 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false // type: string // Specifies the data URI of the image to be visualized. The URI consists of "data:image/[][;base64]," - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,omitempty"` // Stream // arrayOK: false @@ -189,13 +189,13 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -220,7 +220,7 @@ type Image struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Y0 // arrayOK: false @@ -232,7 +232,7 @@ type Image struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Z // arrayOK: false @@ -258,7 +258,7 @@ type Image struct { // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` // Zsmooth // arrayOK: false @@ -271,7 +271,7 @@ type Image struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // ImageHoverlabelFont Sets the font used in hover labels. @@ -287,19 +287,19 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -312,31 +312,31 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -349,7 +349,7 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -362,7 +362,7 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -375,19 +375,19 @@ type ImageHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ImageHoverlabel @@ -404,7 +404,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -416,7 +416,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -428,7 +428,7 @@ type ImageHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -439,13 +439,13 @@ type ImageHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ImageLegendgrouptitleFont Sets this legend group's title font. @@ -461,7 +461,7 @@ type ImageLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -474,13 +474,13 @@ type ImageLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -507,7 +507,7 @@ type ImageLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ImageLegendgrouptitle @@ -522,7 +522,7 @@ type ImageLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ImageStream @@ -532,13 +532,13 @@ type ImageStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ImageColormodel Color model used to map the numerical color components described in `z` into colors. If `source` is specified, this attribute will be set to `rgba256` otherwise it defaults to `rgb`. diff --git a/generated/v2.34.0/graph_objects/indicator_gen.go b/generated/v2.34.0/graph_objects/indicator_gen.go index 7666838..7d859db 100644 --- a/generated/v2.34.0/graph_objects/indicator_gen.go +++ b/generated/v2.34.0/graph_objects/indicator_gen.go @@ -47,7 +47,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delta // arrayOK: false @@ -76,13 +76,13 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -93,13 +93,13 @@ type Indicator struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -111,7 +111,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -124,7 +124,7 @@ type Indicator struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Number // arrayOK: false @@ -150,7 +150,7 @@ type Indicator struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -162,7 +162,7 @@ type Indicator struct { // arrayOK: false // type: number // Sets the number to be displayed. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Visible // arrayOK: false @@ -185,7 +185,7 @@ type IndicatorDeltaDecreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDeltaFont Set the font used to display the delta @@ -201,7 +201,7 @@ type IndicatorDeltaFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -214,13 +214,13 @@ type IndicatorDeltaFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -247,7 +247,7 @@ type IndicatorDeltaFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IndicatorDeltaIncreasing @@ -263,7 +263,7 @@ type IndicatorDeltaIncreasing struct { // arrayOK: false // type: string // Sets the symbol to display for increasing value - Symbol types.String `json:"symbol,omitempty"` + Symbol types.StringType `json:"symbol,omitempty"` } // IndicatorDelta @@ -295,31 +295,31 @@ type IndicatorDelta struct { // arrayOK: false // type: string // Sets a prefix appearing before the delta. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Reference // arrayOK: false // type: number // Sets the reference value to compute the delta. By default, it is set to the current value. - Reference float64 `json:"reference,omitempty"` + Reference types.NumberType `json:"reference,omitempty"` // Relative // arrayOK: false // type: boolean // Show relative change - Relative types.Bool `json:"relative,omitempty"` + Relative types.BoolType `json:"relative,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the delta. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorDomain @@ -329,13 +329,13 @@ type IndicatorDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this indicator trace . - Column int64 `json:"column,omitempty"` + 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 indicator trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -363,7 +363,7 @@ type IndicatorGaugeAxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -376,13 +376,13 @@ type IndicatorGaugeAxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -409,7 +409,7 @@ type IndicatorGaugeAxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IndicatorGaugeAxisTickformatstop @@ -425,25 +425,25 @@ type IndicatorGaugeAxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IndicatorGaugeAxis @@ -472,13 +472,13 @@ type IndicatorGaugeAxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -490,7 +490,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -503,7 +503,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -529,7 +529,7 @@ type IndicatorGaugeAxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -546,7 +546,7 @@ type IndicatorGaugeAxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -557,13 +557,13 @@ type IndicatorGaugeAxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -576,7 +576,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -589,7 +589,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -603,7 +603,7 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -617,19 +617,19 @@ type IndicatorGaugeAxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // IndicatorGaugeBarLine @@ -645,7 +645,7 @@ type IndicatorGaugeBarLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeBar Set the appearance of the gauge's value @@ -666,7 +666,7 @@ type IndicatorGaugeBar struct { // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // StepLine @@ -682,7 +682,7 @@ type StepLine struct { // arrayOK: false // type: number // Sets the width (in px) of the line enclosing each sector. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeStep @@ -703,7 +703,7 @@ type IndicatorGaugeStep struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -715,13 +715,13 @@ type IndicatorGaugeStep struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness of the bar as a fraction of the total thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` } // IndicatorGaugeThresholdLine @@ -737,7 +737,7 @@ type IndicatorGaugeThresholdLine struct { // arrayOK: false // type: number // Sets the width (in px) of the threshold line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IndicatorGaugeThreshold @@ -752,13 +752,13 @@ type IndicatorGaugeThreshold struct { // arrayOK: false // type: number // Sets the thickness of the threshold line as a fraction of the thickness of the gauge. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Value // arrayOK: false // type: number // Sets a treshold value drawn as a line. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` } // IndicatorGauge The gauge of the Indicator plot. @@ -790,7 +790,7 @@ type IndicatorGauge struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the gauge. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Shape // arrayOK: false @@ -823,7 +823,7 @@ type IndicatorLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -836,13 +836,13 @@ type IndicatorLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -869,7 +869,7 @@ type IndicatorLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IndicatorLegendgrouptitle @@ -884,7 +884,7 @@ type IndicatorLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorNumberFont Set the font used to display main number @@ -900,7 +900,7 @@ type IndicatorNumberFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -913,13 +913,13 @@ type IndicatorNumberFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -946,7 +946,7 @@ type IndicatorNumberFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IndicatorNumber @@ -961,19 +961,19 @@ type IndicatorNumber struct { // arrayOK: false // type: string // Sets a prefix appearing before the number. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // Sets a suffix appearing next to the number. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Valueformat // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` } // IndicatorStream @@ -983,13 +983,13 @@ type IndicatorStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IndicatorTitleFont Set the font used to display the title @@ -1005,7 +1005,7 @@ type IndicatorTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1018,13 +1018,13 @@ type IndicatorTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1051,7 +1051,7 @@ type IndicatorTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IndicatorTitle @@ -1073,7 +1073,7 @@ type IndicatorTitle struct { // arrayOK: false // type: string // Sets the title of this indicator. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IndicatorTransform 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. diff --git a/generated/v2.34.0/graph_objects/isosurface_gen.go b/generated/v2.34.0/graph_objects/isosurface_gen.go index 59c3605..b99e9c0 100644 --- a/generated/v2.34.0/graph_objects/isosurface_gen.go +++ b/generated/v2.34.0/graph_objects/isosurface_gen.go @@ -32,7 +32,7 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Isosurface struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Isosurface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,31 +159,31 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -194,13 +194,13 @@ type Isosurface struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -222,43 +222,43 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -284,19 +284,19 @@ type Isosurface struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -316,13 +316,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -343,13 +343,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -363,13 +363,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -383,13 +383,13 @@ type Isosurface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // IsosurfaceCapsX @@ -399,13 +399,13 @@ type IsosurfaceCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsY @@ -415,13 +415,13 @@ type IsosurfaceCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCapsZ @@ -431,13 +431,13 @@ type IsosurfaceCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceCaps @@ -472,7 +472,7 @@ type IsosurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -485,13 +485,13 @@ type IsosurfaceColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -518,7 +518,7 @@ type IsosurfaceColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IsosurfaceColorbarTickformatstop @@ -534,25 +534,25 @@ type IsosurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // IsosurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -568,7 +568,7 @@ type IsosurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -581,13 +581,13 @@ type IsosurfaceColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -614,7 +614,7 @@ type IsosurfaceColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IsosurfaceColorbarTitle @@ -636,7 +636,7 @@ type IsosurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceColorbar @@ -658,7 +658,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -683,7 +683,7 @@ type IsosurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -696,13 +696,13 @@ type IsosurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -721,13 +721,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -740,7 +740,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -760,7 +760,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -779,7 +779,7 @@ type IsosurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -796,7 +796,7 @@ type IsosurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -821,13 +821,13 @@ type IsosurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -840,7 +840,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -853,7 +853,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -867,7 +867,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -881,13 +881,13 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -898,7 +898,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -911,7 +911,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -924,7 +924,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -937,7 +937,7 @@ type IsosurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -960,13 +960,13 @@ type IsosurfaceContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // IsosurfaceHoverlabelFont Sets the font used in hover labels. @@ -982,19 +982,19 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1007,31 +1007,31 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1044,7 +1044,7 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1057,7 +1057,7 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1070,19 +1070,19 @@ type IsosurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // IsosurfaceHoverlabel @@ -1099,7 +1099,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1111,7 +1111,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1123,7 +1123,7 @@ type IsosurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1134,13 +1134,13 @@ type IsosurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // IsosurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -1156,7 +1156,7 @@ type IsosurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1169,13 +1169,13 @@ type IsosurfaceLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1202,7 +1202,7 @@ type IsosurfaceLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // IsosurfaceLegendgrouptitle @@ -1217,7 +1217,7 @@ type IsosurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // IsosurfaceLighting @@ -1227,43 +1227,43 @@ type IsosurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // IsosurfaceLightposition @@ -1273,19 +1273,19 @@ type IsosurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // IsosurfaceSlicesX @@ -1295,7 +1295,7 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1309,13 +1309,13 @@ type IsosurfaceSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesY @@ -1325,7 +1325,7 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1339,13 +1339,13 @@ type IsosurfaceSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlicesZ @@ -1355,7 +1355,7 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1369,13 +1369,13 @@ type IsosurfaceSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceSlices @@ -1404,13 +1404,13 @@ type IsosurfaceSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 0.15 meaning that only 15% of the area of every faces of tetras would be shaded. Applying a greater `fill` ratio would allow the creation of stronger elements or could be sued to have entirely closed areas (in case of using 1). - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceStream @@ -1420,13 +1420,13 @@ type IsosurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // IsosurfaceSurface @@ -1436,13 +1436,13 @@ type IsosurfaceSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1455,7 +1455,7 @@ type IsosurfaceSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // IsosurfaceColorbarExponentformat 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. diff --git a/generated/v2.34.0/graph_objects/layout_gen.go b/generated/v2.34.0/graph_objects/layout_gen.go index e40d77d..90e2792 100644 --- a/generated/v2.34.0/graph_objects/layout_gen.go +++ b/generated/v2.34.0/graph_objects/layout_gen.go @@ -28,7 +28,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a layout width or height that has been left undefined by the user is initialized on each relayout. Note that, regardless of this attribute, an undefined layout width or height is always initialized on the first call to plot. - Autosize types.Bool `json:"autosize,omitempty"` + Autosize types.BoolType `json:"autosize,omitempty"` // Autotypenumbers // arrayOK: false @@ -47,13 +47,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap between bars of adjacent location coordinates. Values are unitless, they represent fractions of the minimum difference in bar positions in the data. - Bargap float64 `json:"bargap,omitempty"` + Bargap types.NumberType `json:"bargap,omitempty"` // Bargroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Bargroupgap float64 `json:"bargroupgap,omitempty"` + Bargroupgap types.NumberType `json:"bargroupgap,omitempty"` // Barmode // arrayOK: false @@ -73,13 +73,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of adjacent location coordinates. Has no effect on traces that have *width* set. - Boxgap float64 `json:"boxgap,omitempty"` + Boxgap types.NumberType `json:"boxgap,omitempty"` // Boxgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between boxes of the same location coordinate. Has no effect on traces that have *width* set. - Boxgroupgap float64 `json:"boxgroupgap,omitempty"` + Boxgroupgap types.NumberType `json:"boxgroupgap,omitempty"` // Boxmode // arrayOK: false @@ -147,31 +147,31 @@ type Layout struct { // arrayOK: false // type: boolean // If `true`, the funnelarea slice colors (whether given by `funnelareacolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendfunnelareacolors types.Bool `json:"extendfunnelareacolors,omitempty"` + Extendfunnelareacolors types.BoolType `json:"extendfunnelareacolors,omitempty"` // Extendiciclecolors // arrayOK: false // type: boolean // If `true`, the icicle slice colors (whether given by `iciclecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendiciclecolors types.Bool `json:"extendiciclecolors,omitempty"` + Extendiciclecolors types.BoolType `json:"extendiciclecolors,omitempty"` // Extendpiecolors // arrayOK: false // type: boolean // If `true`, the pie slice colors (whether given by `piecolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendpiecolors types.Bool `json:"extendpiecolors,omitempty"` + Extendpiecolors types.BoolType `json:"extendpiecolors,omitempty"` // Extendsunburstcolors // arrayOK: false // type: boolean // If `true`, the sunburst slice colors (whether given by `sunburstcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendsunburstcolors types.Bool `json:"extendsunburstcolors,omitempty"` + Extendsunburstcolors types.BoolType `json:"extendsunburstcolors,omitempty"` // Extendtreemapcolors // arrayOK: false // type: boolean // If `true`, the treemap slice colors (whether given by `treemapcolorway` or inherited from `colorway`) will be extended to three times its original length by first repeating every color 20% lighter then each color 20% darker. This is intended to reduce the likelihood of reusing the same color when you have many slices, but you can set `false` to disable. Colors provided in the trace, using `marker.colors`, are never extended. - Extendtreemapcolors types.Bool `json:"extendtreemapcolors,omitempty"` + Extendtreemapcolors types.BoolType `json:"extendtreemapcolors,omitempty"` // Font // arrayOK: false @@ -188,13 +188,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Funnelgap float64 `json:"funnelgap,omitempty"` + Funnelgap types.NumberType `json:"funnelgap,omitempty"` // Funnelgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Funnelgroupgap float64 `json:"funnelgroupgap,omitempty"` + Funnelgroupgap types.NumberType `json:"funnelgroupgap,omitempty"` // Funnelmode // arrayOK: false @@ -217,7 +217,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's height (in px). - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hiddenlabels // arrayOK: false @@ -231,19 +231,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hiddenlabels`. - Hiddenlabelssrc types.String `json:"hiddenlabelssrc,omitempty"` + Hiddenlabelssrc types.StringType `json:"hiddenlabelssrc,omitempty"` // Hidesources // arrayOK: false // type: boolean // Determines whether or not a text link citing the data source is placed at the bottom-right cored of the figure. Has only an effect only on graphs that have been generated via forked graphs from the Chart Studio Cloud (at https://chart-studio.plotly.com or on-premise). - Hidesources types.Bool `json:"hidesources,omitempty"` + Hidesources types.BoolType `json:"hidesources,omitempty"` // Hoverdistance // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to add hover labels (-1 means no cutoff, 0 means no looking for data). This is only a real distance for hovering on point-like objects, like scatter points. For area-like objects (bars, scatter fills, etc) hovering is on inside the area and off outside, but these objects will not supersede hover on point-like objects in case of conflict. - Hoverdistance int64 `json:"hoverdistance,omitempty"` + Hoverdistance types.IntegerType `json:"hoverdistance,omitempty"` // Hoverlabel // arrayOK: false @@ -300,19 +300,19 @@ type Layout struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Minreducedheight // arrayOK: false // type: number // Minimum height of the plot with margin.automargin applied (in px) - Minreducedheight float64 `json:"minreducedheight,omitempty"` + Minreducedheight types.NumberType `json:"minreducedheight,omitempty"` // Minreducedwidth // arrayOK: false // type: number // Minimum width of the plot with margin.automargin applied (in px) - Minreducedwidth float64 `json:"minreducedwidth,omitempty"` + Minreducedwidth types.NumberType `json:"minreducedwidth,omitempty"` // Modebar // arrayOK: false @@ -356,7 +356,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between scatter points of adjacent location coordinates. Defaults to `bargap`. - Scattergap float64 `json:"scattergap,omitempty"` + Scattergap types.NumberType `json:"scattergap,omitempty"` // Scattermode // arrayOK: false @@ -392,7 +392,7 @@ type Layout struct { // arrayOK: false // type: string // Sets the decimal and thousand separators. For example, *. * puts a '.' before decimals and a space between thousands. In English locales, dflt is *.,* but other locales may alter this default. - Separators types.String `json:"separators,omitempty"` + Separators types.StringType `json:"separators,omitempty"` // Shapes // role: Object @@ -403,7 +403,7 @@ type Layout struct { // arrayOK: false // type: boolean // Determines whether or not a legend is drawn. Default is `true` if there is a trace to show and any of these: a) Two or more traces would by default be shown in the legend. b) One pie trace is shown in the legend. c) One trace is explicitly given with `showlegend: true`. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sliders // role: Object @@ -419,7 +419,7 @@ type Layout struct { // arrayOK: false // type: integer // Sets the default distance (in pixels) to look for data to draw spikelines to (-1 means no cutoff, 0 means no looking for data). As with hoverdistance, distance does not apply to area-like objects. In addition, some objects can be hovered on but will not generate spikelines, such as scatter fills. - Spikedistance int64 `json:"spikedistance,omitempty"` + Spikedistance types.IntegerType `json:"spikedistance,omitempty"` // Sunburstcolorway // arrayOK: false @@ -474,13 +474,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of adjacent location coordinates. Has no effect on traces that have *width* set. - Violingap float64 `json:"violingap,omitempty"` + Violingap types.NumberType `json:"violingap,omitempty"` // Violingroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between violins of the same location coordinate. Has no effect on traces that have *width* set. - Violingroupgap float64 `json:"violingroupgap,omitempty"` + Violingroupgap types.NumberType `json:"violingroupgap,omitempty"` // Violinmode // arrayOK: false @@ -493,13 +493,13 @@ type Layout struct { // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of adjacent location coordinates. - Waterfallgap float64 `json:"waterfallgap,omitempty"` + Waterfallgap types.NumberType `json:"waterfallgap,omitempty"` // Waterfallgroupgap // arrayOK: false // type: number // Sets the gap (in plot fraction) between bars of the same location coordinate. - Waterfallgroupgap float64 `json:"waterfallgroupgap,omitempty"` + Waterfallgroupgap types.NumberType `json:"waterfallgroupgap,omitempty"` // Waterfallmode // arrayOK: false @@ -512,7 +512,7 @@ type Layout struct { // arrayOK: false // type: number // Sets the plot's width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // Xaxis // arrayOK: false @@ -578,7 +578,7 @@ type LayoutActiveselection struct { // arrayOK: false // type: number // Sets the opacity of the active selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // LayoutActiveshape @@ -594,7 +594,7 @@ type LayoutActiveshape struct { // arrayOK: false // type: number // Sets the opacity of the active shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // AnnotationFont Sets the annotation text font. @@ -610,7 +610,7 @@ type AnnotationFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -623,13 +623,13 @@ type AnnotationFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -656,7 +656,7 @@ type AnnotationFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // AnnotationHoverlabelFont Sets the hover label text font. By default uses the global hover font and size, with color from `hoverlabel.bordercolor`. @@ -672,7 +672,7 @@ type AnnotationHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -685,13 +685,13 @@ type AnnotationHoverlabelFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -718,7 +718,7 @@ type AnnotationHoverlabelFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // AnnotationHoverlabel @@ -762,7 +762,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -775,13 +775,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false @@ -825,19 +825,19 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Clicktoshow // arrayOK: false @@ -855,7 +855,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -866,67 +866,67 @@ type LayoutAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -939,13 +939,13 @@ type LayoutAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -977,7 +977,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -1009,7 +1009,7 @@ type LayoutAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` } // LayoutColoraxisColorbarTickfont Sets the color bar's tick label font @@ -1025,7 +1025,7 @@ type LayoutColoraxisColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1038,13 +1038,13 @@ type LayoutColoraxisColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1071,7 +1071,7 @@ type LayoutColoraxisColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutColoraxisColorbarTickformatstop @@ -1087,25 +1087,25 @@ type LayoutColoraxisColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutColoraxisColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1121,7 +1121,7 @@ type LayoutColoraxisColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1134,13 +1134,13 @@ type LayoutColoraxisColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1167,7 +1167,7 @@ type LayoutColoraxisColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutColoraxisColorbarTitle @@ -1189,7 +1189,7 @@ type LayoutColoraxisColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutColoraxisColorbar @@ -1211,7 +1211,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1236,7 +1236,7 @@ type LayoutColoraxisColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1249,13 +1249,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1274,13 +1274,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1293,7 +1293,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1313,7 +1313,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1332,7 +1332,7 @@ type LayoutColoraxisColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1349,7 +1349,7 @@ type LayoutColoraxisColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1374,13 +1374,13 @@ type LayoutColoraxisColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1393,7 +1393,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1406,7 +1406,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1420,7 +1420,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1434,13 +1434,13 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1451,7 +1451,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1464,7 +1464,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1477,7 +1477,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1490,7 +1490,7 @@ type LayoutColoraxisColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1507,31 +1507,31 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 corresponding trace color array(s)) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as corresponding trace color array(s). Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as corresponding trace color array(s) and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorbar // arrayOK: false @@ -1548,13 +1548,13 @@ type LayoutColoraxis struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // LayoutColorscale @@ -1592,7 +1592,7 @@ type LayoutFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1605,13 +1605,13 @@ type LayoutFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1638,7 +1638,7 @@ type LayoutFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutGeoCenter @@ -1648,13 +1648,13 @@ type LayoutGeoCenter struct { // arrayOK: false // type: number // Sets the latitude of the map's center. For all projection types, the map's latitude center lies at the middle of the latitude range by default. - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the map's center. By default, the map's longitude center lies at the middle of the longitude range for scoped projection and above `projection.rotation.lon` otherwise. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutGeoDomain @@ -1664,13 +1664,13 @@ type LayoutGeoDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Column int64 `json:"column,omitempty"` + 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 geo subplot . Note that geo subplots are constrained by domain. In general, when `projection.scale` is set to 1. a map will fit either its x or y domain, but not both. - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -1692,7 +1692,7 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1704,13 +1704,13 @@ type LayoutGeoLataxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1722,13 +1722,13 @@ type LayoutGeoLataxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoLonaxis @@ -1738,7 +1738,7 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: number // Sets the graticule's longitude/latitude tick step. - Dtick float64 `json:"dtick,omitempty"` + Dtick types.NumberType `json:"dtick,omitempty"` // Gridcolor // arrayOK: false @@ -1750,13 +1750,13 @@ type LayoutGeoLonaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the graticule's stroke width (in px). - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Range // arrayOK: false @@ -1768,13 +1768,13 @@ type LayoutGeoLonaxis struct { // arrayOK: false // type: boolean // Sets whether or not graticule are shown on the map. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false // type: number // Sets the graticule's starting tick longitude/latitude. - Tick0 float64 `json:"tick0,omitempty"` + Tick0 types.NumberType `json:"tick0,omitempty"` } // LayoutGeoProjectionRotation @@ -1784,19 +1784,19 @@ type LayoutGeoProjectionRotation struct { // arrayOK: false // type: number // Rotates the map along meridians (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Rotates the map along parallels (in degrees East). Defaults to the center of the `lonaxis.range` values. - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` // Roll // arrayOK: false // type: number // Roll the map (in degrees) For example, a roll of *180* makes the map appear upside down. - Roll float64 `json:"roll,omitempty"` + Roll types.NumberType `json:"roll,omitempty"` } // LayoutGeoProjection @@ -1806,7 +1806,7 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // For satellite projection type only. Sets the distance from the center of the sphere to the point of view as a proportion of the sphere’s radius. - Distance float64 `json:"distance,omitempty"` + Distance types.NumberType `json:"distance,omitempty"` // Parallels // arrayOK: false @@ -1823,13 +1823,13 @@ type LayoutGeoProjection struct { // arrayOK: false // type: number // Zooms in or out on the map view. A scale of *1* corresponds to the largest zoom level that fits the map's lon and lat ranges. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Tilt // arrayOK: false // type: number // For satellite projection type only. Sets the tilt angle of perspective projection. - Tilt float64 `json:"tilt,omitempty"` + Tilt types.NumberType `json:"tilt,omitempty"` // Type // arrayOK: false @@ -1863,7 +1863,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the coastline stroke width (in px). - Coastlinewidth float64 `json:"coastlinewidth,omitempty"` + Coastlinewidth types.NumberType `json:"coastlinewidth,omitempty"` // Countrycolor // arrayOK: false @@ -1875,7 +1875,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets line width (in px) of the country boundaries. - Countrywidth float64 `json:"countrywidth,omitempty"` + Countrywidth types.NumberType `json:"countrywidth,omitempty"` // Domain // arrayOK: false @@ -1899,7 +1899,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the frame. - Framewidth float64 `json:"framewidth,omitempty"` + Framewidth types.NumberType `json:"framewidth,omitempty"` // Lakecolor // arrayOK: false @@ -1951,7 +1951,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the rivers. - Riverwidth float64 `json:"riverwidth,omitempty"` + Riverwidth types.NumberType `json:"riverwidth,omitempty"` // Scope // arrayOK: false @@ -1964,49 +1964,49 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets whether or not the coastlines are drawn. - Showcoastlines types.Bool `json:"showcoastlines,omitempty"` + Showcoastlines types.BoolType `json:"showcoastlines,omitempty"` // Showcountries // arrayOK: false // type: boolean // Sets whether or not country boundaries are drawn. - Showcountries types.Bool `json:"showcountries,omitempty"` + Showcountries types.BoolType `json:"showcountries,omitempty"` // Showframe // arrayOK: false // type: boolean // Sets whether or not a frame is drawn around the map. - Showframe types.Bool `json:"showframe,omitempty"` + Showframe types.BoolType `json:"showframe,omitempty"` // Showlakes // arrayOK: false // type: boolean // Sets whether or not lakes are drawn. - Showlakes types.Bool `json:"showlakes,omitempty"` + Showlakes types.BoolType `json:"showlakes,omitempty"` // Showland // arrayOK: false // type: boolean // Sets whether or not land masses are filled in color. - Showland types.Bool `json:"showland,omitempty"` + Showland types.BoolType `json:"showland,omitempty"` // Showocean // arrayOK: false // type: boolean // Sets whether or not oceans are filled in color. - Showocean types.Bool `json:"showocean,omitempty"` + Showocean types.BoolType `json:"showocean,omitempty"` // Showrivers // arrayOK: false // type: boolean // Sets whether or not rivers are drawn. - Showrivers types.Bool `json:"showrivers,omitempty"` + Showrivers types.BoolType `json:"showrivers,omitempty"` // Showsubunits // arrayOK: false // type: boolean // Sets whether or not boundaries of subunits within countries (e.g. states, provinces) are drawn. - Showsubunits types.Bool `json:"showsubunits,omitempty"` + Showsubunits types.BoolType `json:"showsubunits,omitempty"` // Subunitcolor // arrayOK: false @@ -2018,7 +2018,7 @@ type LayoutGeo struct { // arrayOK: false // type: number // Sets the stroke width (in px) of the subunits boundaries. - Subunitwidth float64 `json:"subunitwidth,omitempty"` + Subunitwidth types.NumberType `json:"subunitwidth,omitempty"` // Uirevision // arrayOK: false @@ -2030,7 +2030,7 @@ type LayoutGeo struct { // arrayOK: false // type: boolean // Sets the default visibility of the base layers. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutGridDomain @@ -2056,7 +2056,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of columns in the grid. If you provide a 2D `subplots` array, the length of its longest row is used as the default. If you give an `xaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Columns int64 `json:"columns,omitempty"` + Columns types.IntegerType `json:"columns,omitempty"` // Domain // arrayOK: false @@ -2081,7 +2081,7 @@ type LayoutGrid struct { // arrayOK: false // type: integer // The number of rows in the grid. If you provide a 2D `subplots` array or a `yaxes` array, its length is used as the default. But it's also possible to have a different length, if you want to leave a row at the end for non-cartesian subplots. - Rows int64 `json:"rows,omitempty"` + Rows types.IntegerType `json:"rows,omitempty"` // Subplots // arrayOK: false @@ -2099,7 +2099,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Horizontal space between grid cells, expressed as a fraction of the total width available to one cell. Defaults to 0.1 for coupled-axes grids and 0.2 for independent grids. - Xgap float64 `json:"xgap,omitempty"` + Xgap types.NumberType `json:"xgap,omitempty"` // Xside // arrayOK: false @@ -2118,7 +2118,7 @@ type LayoutGrid struct { // arrayOK: false // type: number // Vertical space between grid cells, expressed as a fraction of the total height available to one cell. Defaults to 0.1 for coupled-axes grids and 0.3 for independent grids. - Ygap float64 `json:"ygap,omitempty"` + Ygap types.NumberType `json:"ygap,omitempty"` // Yside // arrayOK: false @@ -2141,7 +2141,7 @@ type LayoutHoverlabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -2154,13 +2154,13 @@ type LayoutHoverlabelFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -2187,7 +2187,7 @@ type LayoutHoverlabelFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutHoverlabelGrouptitlefont Sets the font for group titles in hover (unified modes). Defaults to `hoverlabel.font`. @@ -2203,7 +2203,7 @@ type LayoutHoverlabelGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -2216,13 +2216,13 @@ type LayoutHoverlabelGrouptitlefont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -2249,7 +2249,7 @@ type LayoutHoverlabelGrouptitlefont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutHoverlabel @@ -2288,7 +2288,7 @@ type LayoutHoverlabel struct { // arrayOK: false // 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. - Namelength int64 `json:"namelength,omitempty"` + Namelength types.IntegerType `json:"namelength,omitempty"` } // LayoutImage @@ -2305,25 +2305,25 @@ type LayoutImage struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the image. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizex // arrayOK: false // type: number // Sets the image container size horizontally. The image will be sized based on the `position` value. When `xref` is set to `paper`, units are sized relative to the plot width. When `xref` ends with ` domain`, units are sized relative to the axis width. - Sizex float64 `json:"sizex,omitempty"` + Sizex types.NumberType `json:"sizex,omitempty"` // Sizey // arrayOK: false // type: number // Sets the image container size vertically. The image will be sized based on the `position` value. When `yref` is set to `paper`, units are sized relative to the plot height. When `yref` ends with ` domain`, units are sized relative to the axis height. - Sizey float64 `json:"sizey,omitempty"` + Sizey types.NumberType `json:"sizey,omitempty"` // Sizing // arrayOK: false @@ -2336,19 +2336,19 @@ type LayoutImage struct { // arrayOK: false // type: string // Specifies the URL of the image to be used. The URL must be accessible from the domain where the plot code is run, and can be either relative or absolute. - Source types.String `json:"source,omitempty"` + Source types.StringType `json:"source,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this image is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false @@ -2404,7 +2404,7 @@ type LayoutLegendFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -2417,13 +2417,13 @@ type LayoutLegendFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -2450,7 +2450,7 @@ type LayoutLegendFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutLegendGrouptitlefont Sets the font for group titles in legend. Defaults to `legend.font` with its size increased about 10%. @@ -2466,7 +2466,7 @@ type LayoutLegendGrouptitlefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -2479,13 +2479,13 @@ type LayoutLegendGrouptitlefont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -2512,7 +2512,7 @@ type LayoutLegendGrouptitlefont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutLegendTitleFont Sets this legend's title font. Defaults to `legend.font` with its size increased about 20%. @@ -2528,7 +2528,7 @@ type LayoutLegendTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -2541,13 +2541,13 @@ type LayoutLegendTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -2574,7 +2574,7 @@ type LayoutLegendTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutLegendTitle @@ -2596,7 +2596,7 @@ type LayoutLegendTitle struct { // arrayOK: false // type: string // Sets the title of the legend. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutLegend @@ -2618,13 +2618,13 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the legend. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Entrywidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend. Use 0 to size the entry based on the text width, when `entrywidthmode` is set to *pixels*. - Entrywidth float64 `json:"entrywidth,omitempty"` + Entrywidth types.NumberType `json:"entrywidth,omitempty"` // Entrywidthmode // arrayOK: false @@ -2654,7 +2654,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the indentation (in px) of the legend entries. - Indentation float64 `json:"indentation,omitempty"` + Indentation types.NumberType `json:"indentation,omitempty"` // Itemclick // arrayOK: false @@ -2681,7 +2681,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the width (in px) of the legend item symbols (the part other than the title.text). - Itemwidth float64 `json:"itemwidth,omitempty"` + Itemwidth types.NumberType `json:"itemwidth,omitempty"` // Orientation // arrayOK: false @@ -2699,7 +2699,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the amount of vertical space (in px) between legend groups. - Tracegroupgap float64 `json:"tracegroupgap,omitempty"` + Tracegroupgap types.NumberType `json:"tracegroupgap,omitempty"` // Traceorder // arrayOK: false @@ -2725,13 +2725,13 @@ type LayoutLegend struct { // arrayOK: false // type: boolean // Determines whether or not this legend is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position with respect to `xref` (in normalized coordinates) of the legend. When `xref` is *paper*, defaults to *1.02* for vertical legends and defaults to *0* for horizontal legends. When `xref` is *container*, defaults to *1* for vertical legends and defaults to *0* for horizontal legends. Must be between *0* and *1* if `xref` is *container*. and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -2751,7 +2751,7 @@ type LayoutLegend struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` (in normalized coordinates) of the legend. When `yref` is *paper*, defaults to *1* for vertical legends, defaults to *-0.1* for horizontal legends on graphs w/o range sliders and defaults to *1.1* for horizontal legends on graph with one or multiple range sliders. When `yref` is *container*, defaults to *1*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -2775,25 +2775,25 @@ type LayoutMapboxBounds struct { // arrayOK: false // type: number // Sets the maximum longitude of the map (in degrees East) if `west`, `south` and `north` are declared. - East float64 `json:"east,omitempty"` + East types.NumberType `json:"east,omitempty"` // North // arrayOK: false // type: number // Sets the maximum latitude of the map (in degrees North) if `east`, `west` and `south` are declared. - North float64 `json:"north,omitempty"` + North types.NumberType `json:"north,omitempty"` // South // arrayOK: false // type: number // Sets the minimum latitude of the map (in degrees North) if `east`, `west` and `north` are declared. - South float64 `json:"south,omitempty"` + South types.NumberType `json:"south,omitempty"` // West // arrayOK: false // type: number // Sets the minimum longitude of the map (in degrees East) if `east`, `south` and `north` are declared. - West float64 `json:"west,omitempty"` + West types.NumberType `json:"west,omitempty"` } // LayoutMapboxCenter @@ -2803,13 +2803,13 @@ type LayoutMapboxCenter struct { // arrayOK: false // type: number // Sets the latitude of the center of the map (in degrees North). - Lat float64 `json:"lat,omitempty"` + Lat types.NumberType `json:"lat,omitempty"` // Lon // arrayOK: false // type: number // Sets the longitude of the center of the map (in degrees East). - Lon float64 `json:"lon,omitempty"` + Lon types.NumberType `json:"lon,omitempty"` } // LayoutMapboxDomain @@ -2819,13 +2819,13 @@ type LayoutMapboxDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this mapbox subplot . - Column int64 `json:"column,omitempty"` + 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 mapbox subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -2847,7 +2847,7 @@ type LayerCircle struct { // arrayOK: false // type: number // Sets the circle radius (mapbox.layer.paint.circle-radius). Has an effect only when `type` is set to *circle*. - Radius float64 `json:"radius,omitempty"` + Radius types.NumberType `json:"radius,omitempty"` } // LayerFill @@ -2875,13 +2875,13 @@ type LayerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `dash`. - Dashsrc types.String `json:"dashsrc,omitempty"` + Dashsrc types.StringType `json:"dashsrc,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (mapbox.layer.paint.line-width). Has an effect only when `type` is set to *line*. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayerSymbolTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -2897,13 +2897,13 @@ type LayerSymbolTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -2916,7 +2916,7 @@ type LayerSymbolTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayerSymbol @@ -2926,13 +2926,13 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol icon image (mapbox.layer.layout.icon-image). Full list: https://www.mapbox.com/maki-icons/ - Icon types.String `json:"icon,omitempty"` + Icon types.StringType `json:"icon,omitempty"` // Iconsize // arrayOK: false // type: number // Sets the symbol icon size (mapbox.layer.layout.icon-size). Has an effect only when `type` is set to *symbol*. - Iconsize float64 `json:"iconsize,omitempty"` + Iconsize types.NumberType `json:"iconsize,omitempty"` // Placement // arrayOK: false @@ -2945,7 +2945,7 @@ type LayerSymbol struct { // arrayOK: false // type: string // Sets the symbol text (mapbox.layer.layout.text-field). - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textfont // arrayOK: false @@ -2967,7 +2967,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Determines if the layer will be inserted before the layer with the specified ID. If omitted or set to '', the layer will be inserted above every existing layer. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Circle // arrayOK: false @@ -3000,25 +3000,25 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: number // Sets the maximum zoom level (mapbox.layer.maxzoom). At zoom levels equal to or greater than the maxzoom, the layer will be hidden. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Minzoom // arrayOK: false // type: number // Sets the minimum zoom level (mapbox.layer.minzoom). At zoom levels less than the minzoom, the layer will be hidden. - Minzoom float64 `json:"minzoom,omitempty"` + Minzoom types.NumberType `json:"minzoom,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the layer. If `type` is *circle*, opacity corresponds to the circle opacity (mapbox.layer.paint.circle-opacity) If `type` is *line*, opacity corresponds to the line opacity (mapbox.layer.paint.line-opacity) If `type` is *fill*, opacity corresponds to the fill opacity (mapbox.layer.paint.fill-opacity) If `type` is *symbol*, opacity corresponds to the icon/text opacity (mapbox.layer.paint.text-opacity) - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Source // arrayOK: false @@ -3030,13 +3030,13 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: string // Sets the attribution for this source. - Sourceattribution types.String `json:"sourceattribution,omitempty"` + Sourceattribution types.StringType `json:"sourceattribution,omitempty"` // Sourcelayer // arrayOK: false // type: string // Specifies the layer to use from a vector tile source (mapbox.layer.source-layer). Required for *vector* source type that supports multiple layers. - Sourcelayer types.String `json:"sourcelayer,omitempty"` + Sourcelayer types.StringType `json:"sourcelayer,omitempty"` // Sourcetype // arrayOK: false @@ -3054,7 +3054,7 @@ type LayoutMapboxLayer struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -3067,7 +3067,7 @@ type LayoutMapboxLayer struct { // arrayOK: false // type: boolean // Determines whether this layer is displayed - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutMapbox @@ -3077,13 +3077,13 @@ type LayoutMapbox struct { // arrayOK: false // type: string // Sets the mapbox access token to be used for this mapbox map. Alternatively, the mapbox access token can be set in the configuration options under `mapboxAccessToken`. Note that accessToken are only required when `style` (e.g with values : basic, streets, outdoors, light, dark, satellite, satellite-streets ) and/or a layout layer references the Mapbox server. - Accesstoken types.String `json:"accesstoken,omitempty"` + Accesstoken types.StringType `json:"accesstoken,omitempty"` // Bearing // arrayOK: false // type: number // Sets the bearing angle of the map in degrees counter-clockwise from North (mapbox.bearing). - Bearing float64 `json:"bearing,omitempty"` + Bearing types.NumberType `json:"bearing,omitempty"` // Bounds // arrayOK: false @@ -3109,7 +3109,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the pitch angle of the map (in degrees, where *0* means perpendicular to the surface of the map) (mapbox.pitch). - Pitch float64 `json:"pitch,omitempty"` + Pitch types.NumberType `json:"pitch,omitempty"` // Style // arrayOK: false @@ -3127,7 +3127,7 @@ type LayoutMapbox struct { // arrayOK: false // type: number // Sets the zoom level of the map (mapbox.zoom). - Zoom float64 `json:"zoom,omitempty"` + Zoom types.NumberType `json:"zoom,omitempty"` } // LayoutMargin @@ -3137,37 +3137,37 @@ type LayoutMargin struct { // arrayOK: false // type: boolean // Turns on/off margin expansion computations. Legends, colorbars, updatemenus, sliders, axis rangeselector and rangeslider are allowed to push the margins by defaults. - Autoexpand types.Bool `json:"autoexpand,omitempty"` + Autoexpand types.BoolType `json:"autoexpand,omitempty"` // B // arrayOK: false // type: number // Sets the bottom margin (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the left margin (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // Pad // arrayOK: false // type: number // Sets the amount of padding (in px) between the plotting area and the axis lines - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // R // arrayOK: false // type: number // Sets the right margin (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the top margin (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutModebar @@ -3183,13 +3183,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to add. Please note that these buttons will only be shown if they are compatible with all trace types used in a graph. Similar to `config.modeBarButtonsToAdd` option. This may include *v1hovermode*, *hoverclosest*, *hovercompare*, *togglehover*, *togglespikelines*, *drawline*, *drawopenpath*, *drawclosedpath*, *drawcircle*, *drawrect*, *eraseshape*. - Add *types.ArrayOK[*types.String] `json:"add,omitempty"` + Add *types.ArrayOK[*types.StringType] `json:"add,omitempty"` // Addsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `add`. - Addsrc types.String `json:"addsrc,omitempty"` + Addsrc types.StringType `json:"addsrc,omitempty"` // Bgcolor // arrayOK: false @@ -3214,13 +3214,13 @@ type LayoutModebar struct { // arrayOK: true // type: string // Determines which predefined modebar buttons to remove. Similar to `config.modeBarButtonsToRemove` option. This may include *autoScale2d*, *autoscale*, *editInChartStudio*, *editinchartstudio*, *hoverCompareCartesian*, *hovercompare*, *lasso*, *lasso2d*, *orbitRotation*, *orbitrotation*, *pan*, *pan2d*, *pan3d*, *reset*, *resetCameraDefault3d*, *resetCameraLastSave3d*, *resetGeo*, *resetSankeyGroup*, *resetScale2d*, *resetViewMapbox*, *resetViews*, *resetcameradefault*, *resetcameralastsave*, *resetsankeygroup*, *resetscale*, *resetview*, *resetviews*, *select*, *select2d*, *sendDataToCloud*, *senddatatocloud*, *tableRotation*, *tablerotation*, *toImage*, *toggleHover*, *toggleSpikelines*, *togglehover*, *togglespikelines*, *toimage*, *zoom*, *zoom2d*, *zoom3d*, *zoomIn2d*, *zoomInGeo*, *zoomInMapbox*, *zoomOut2d*, *zoomOutGeo*, *zoomOutMapbox*, *zoomin*, *zoomout*. - Remove *types.ArrayOK[*types.String] `json:"remove,omitempty"` + Remove *types.ArrayOK[*types.StringType] `json:"remove,omitempty"` // Removesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `remove`. - Removesrc types.String `json:"removesrc,omitempty"` + Removesrc types.StringType `json:"removesrc,omitempty"` // Uirevision // arrayOK: false @@ -3242,13 +3242,13 @@ type LayoutNewselectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewselection @@ -3280,7 +3280,7 @@ type LayoutNewshapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -3293,13 +3293,13 @@ type LayoutNewshapeLabelFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -3326,7 +3326,7 @@ type LayoutNewshapeLabelFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutNewshapeLabel @@ -3341,19 +3341,19 @@ type LayoutNewshapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of new shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with the new shape. It is also used for legend item if `name` is not provided. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -3366,7 +3366,7 @@ type LayoutNewshapeLabel struct { // arrayOK: false // type: string // Template string used for rendering the new shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Xanchor // arrayOK: false @@ -3396,7 +3396,7 @@ type LayoutNewshapeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -3409,13 +3409,13 @@ type LayoutNewshapeLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -3442,7 +3442,7 @@ type LayoutNewshapeLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutNewshapeLegendgrouptitle @@ -3457,7 +3457,7 @@ type LayoutNewshapeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutNewshapeLine @@ -3473,13 +3473,13 @@ type LayoutNewshapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutNewshape @@ -3521,13 +3521,13 @@ type LayoutNewshape struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show new shape in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for new shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -3538,13 +3538,13 @@ type LayoutNewshape struct { // arrayOK: false // type: number // Sets the legend rank for new shape. 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. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for new shape. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -3555,19 +3555,19 @@ type LayoutNewshape struct { // arrayOK: false // type: string // Sets new shape name. The name appears as the legend item. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of new shapes. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not new shape is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Visible // arrayOK: false @@ -3590,7 +3590,7 @@ type LayoutPolarAngularaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -3603,13 +3603,13 @@ type LayoutPolarAngularaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -3636,7 +3636,7 @@ type LayoutPolarAngularaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutPolarAngularaxisTickformatstop @@ -3652,25 +3652,25 @@ type LayoutPolarAngularaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarAngularaxis @@ -3695,7 +3695,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -3740,19 +3740,19 @@ type LayoutPolarAngularaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -3777,37 +3777,37 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Period // arrayOK: false // type: number // Set the angular period. Has an effect only when `angularaxis.type` is *category*. - Period float64 `json:"period,omitempty"` + Period types.NumberType `json:"period,omitempty"` // Rotation // arrayOK: false // type: angle // Sets that start position (in degrees) of the angular axis By default, polar subplots with `direction` set to *counterclockwise* get a `rotation` of *0* which corresponds to due East (like what mathematicians prefer). In turn, polar with `direction` set to *clockwise* get a rotation of *90* which corresponds to due North (like on a compass), - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -3820,19 +3820,19 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -3865,7 +3865,7 @@ type LayoutPolarAngularaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -3882,7 +3882,7 @@ type LayoutPolarAngularaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -3893,13 +3893,13 @@ type LayoutPolarAngularaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -3912,7 +3912,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -3925,7 +3925,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -3939,7 +3939,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -3953,13 +3953,13 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Type // arrayOK: false @@ -3978,7 +3978,7 @@ type LayoutPolarAngularaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolarDomain @@ -3988,13 +3988,13 @@ type LayoutPolarDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this polar subplot . - Column int64 `json:"column,omitempty"` + 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 polar subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -4034,7 +4034,7 @@ type LayoutPolarRadialaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -4062,7 +4062,7 @@ type LayoutPolarRadialaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -4075,13 +4075,13 @@ type LayoutPolarRadialaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -4108,7 +4108,7 @@ type LayoutPolarRadialaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutPolarRadialaxisTickformatstop @@ -4124,25 +4124,25 @@ type LayoutPolarRadialaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutPolarRadialaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -4158,7 +4158,7 @@ type LayoutPolarRadialaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -4171,13 +4171,13 @@ type LayoutPolarRadialaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -4204,7 +4204,7 @@ type LayoutPolarRadialaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutPolarRadialaxisTitle @@ -4219,7 +4219,7 @@ type LayoutPolarRadialaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutPolarRadialaxis @@ -4229,7 +4229,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: angle // Sets the angle (in degrees) from which the radial axis is drawn. Note that by default, radial axis line on the theta=0 line corresponds to a line pointing right (like what mathematicians prefer). Defaults to the first `polar.sector` angle. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Autorange // arrayOK: false @@ -4275,7 +4275,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -4313,19 +4313,19 @@ type LayoutPolarRadialaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -4350,7 +4350,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -4368,13 +4368,13 @@ type LayoutPolarRadialaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -4393,7 +4393,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -4406,19 +4406,19 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -4451,7 +4451,7 @@ type LayoutPolarRadialaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -4468,7 +4468,7 @@ type LayoutPolarRadialaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -4479,13 +4479,13 @@ type LayoutPolarRadialaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -4498,7 +4498,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -4511,7 +4511,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -4525,7 +4525,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -4539,13 +4539,13 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -4569,7 +4569,7 @@ type LayoutPolarRadialaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutPolar @@ -4602,7 +4602,7 @@ type LayoutPolar struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the polar subplot. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Radialaxis // arrayOK: false @@ -4642,7 +4642,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: integer // Sets the end annotation arrow head style. - Arrowhead int64 `json:"arrowhead,omitempty"` + Arrowhead types.IntegerType `json:"arrowhead,omitempty"` // Arrowside // arrayOK: false @@ -4655,25 +4655,25 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the size of the end annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Arrowsize float64 `json:"arrowsize,omitempty"` + Arrowsize types.NumberType `json:"arrowsize,omitempty"` // Arrowwidth // arrayOK: false // type: number // Sets the width (in px) of annotation arrow line. - Arrowwidth float64 `json:"arrowwidth,omitempty"` + Arrowwidth types.NumberType `json:"arrowwidth,omitempty"` // Ax // arrayOK: false // type: number // Sets the x component of the arrow tail about the arrow head (in pixels). - Ax float64 `json:"ax,omitempty"` + Ax types.NumberType `json:"ax,omitempty"` // Ay // arrayOK: false // type: number // Sets the y component of the arrow tail about the arrow head (in pixels). - Ay float64 `json:"ay,omitempty"` + Ay types.NumberType `json:"ay,omitempty"` // Bgcolor // arrayOK: false @@ -4691,19 +4691,19 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets the padding (in px) between the `text` and the enclosing border. - Borderpad float64 `json:"borderpad,omitempty"` + Borderpad types.NumberType `json:"borderpad,omitempty"` // Borderwidth // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the annotation `text`. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Captureevents // arrayOK: false // type: boolean // Determines whether the annotation text box captures mouse move and click events, or allows those events to pass through to data points in the plot that may be behind the annotation. By default `captureevents` is *false* unless `hovertext` is provided. If you use the event `plotly_clickannotation` without `hovertext` you must explicitly enable `captureevents`. - Captureevents types.Bool `json:"captureevents,omitempty"` + Captureevents types.BoolType `json:"captureevents,omitempty"` // Font // arrayOK: false @@ -4714,7 +4714,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Sets an explicit height for the text box. null (default) lets the text set the box height. Taller text will be clipped. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Hoverlabel // arrayOK: false @@ -4725,67 +4725,67 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: string // Sets text to appear when hovering over this annotation. If omitted or blank, no hover label will appear. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the annotation (text + arrow). - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showarrow // arrayOK: false // type: boolean // Determines whether or not the annotation is drawn with an arrow. If *true*, `text` is placed near the arrow's tail. If *false*, `text` lines up with the `x` and `y` provided. - Showarrow types.Bool `json:"showarrow,omitempty"` + Showarrow types.BoolType `json:"showarrow,omitempty"` // Standoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the end arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Startarrowhead // arrayOK: false // type: integer // Sets the start annotation arrow head style. - Startarrowhead int64 `json:"startarrowhead,omitempty"` + Startarrowhead types.IntegerType `json:"startarrowhead,omitempty"` // Startarrowsize // arrayOK: false // type: number // Sets the size of the start annotation arrow head, relative to `arrowwidth`. A value of 1 (default) gives a head about 3x as wide as the line. - Startarrowsize float64 `json:"startarrowsize,omitempty"` + Startarrowsize types.NumberType `json:"startarrowsize,omitempty"` // Startstandoff // arrayOK: false // type: number // Sets a distance, in pixels, to move the start arrowhead away from the position it is pointing at, for example to point at the edge of a marker independent of zoom. Note that this shortens the arrow from the `ax` / `ay` vector, in contrast to `xshift` / `yshift` which moves everything by this amount. - Startstandoff float64 `json:"startstandoff,omitempty"` + Startstandoff types.NumberType `json:"startstandoff,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Text // arrayOK: false // type: string // Sets the text associated with this annotation. Plotly uses a subset of HTML tags to do things like newline (
), bold (), italics (), hyperlinks (). Tags , , , , are also supported. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the `text` is drawn with respect to the horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Valign // arrayOK: false @@ -4798,13 +4798,13 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: boolean // Determines whether or not this annotation is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets an explicit width for the text box. null (default) lets the text set the box width. Wider text will be clipped. There is no automatic wrapping; use
to start a new line. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -4823,7 +4823,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow to the right (positive) or left (negative) by this many pixels. - Xshift float64 `json:"xshift,omitempty"` + Xshift types.NumberType `json:"xshift,omitempty"` // Y // arrayOK: false @@ -4842,7 +4842,7 @@ type LayoutSceneAnnotation struct { // arrayOK: false // type: number // Shifts the position of the whole annotation and arrow up (positive) or down (negative) by this many pixels. - Yshift float64 `json:"yshift,omitempty"` + Yshift types.NumberType `json:"yshift,omitempty"` // Z // arrayOK: false @@ -4858,19 +4858,19 @@ type LayoutSceneAspectratio struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraCenter Sets the (x,y,z) components of the 'center' camera vector This vector determines the translation (x,y,z) space about the center of this scene. By default, there is no such translation. @@ -4880,19 +4880,19 @@ type LayoutSceneCameraCenter struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraEye Sets the (x,y,z) components of the 'eye' camera vector. This vector determines the view point about the origin of this scene. @@ -4902,19 +4902,19 @@ type LayoutSceneCameraEye struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCameraProjection @@ -4935,19 +4935,19 @@ type LayoutSceneCameraUp struct { // arrayOK: false // type: number // - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // LayoutSceneCamera @@ -4981,13 +4981,13 @@ type LayoutSceneDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this scene subplot . - Column int64 `json:"column,omitempty"` + 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 scene subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -5027,7 +5027,7 @@ type LayoutSceneXaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -5055,7 +5055,7 @@ type LayoutSceneXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -5068,13 +5068,13 @@ type LayoutSceneXaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -5101,7 +5101,7 @@ type LayoutSceneXaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSceneXaxisTickformatstop @@ -5117,25 +5117,25 @@ type LayoutSceneXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -5151,7 +5151,7 @@ type LayoutSceneXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -5164,13 +5164,13 @@ type LayoutSceneXaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -5197,7 +5197,7 @@ type LayoutSceneXaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSceneXaxisTitle @@ -5212,7 +5212,7 @@ type LayoutSceneXaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneXaxis @@ -5262,7 +5262,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -5300,13 +5300,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -5324,7 +5324,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -5342,7 +5342,7 @@ type LayoutSceneXaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -5355,7 +5355,7 @@ type LayoutSceneXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -5374,19 +5374,19 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -5399,25 +5399,25 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -5443,13 +5443,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -5461,7 +5461,7 @@ type LayoutSceneXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -5478,7 +5478,7 @@ type LayoutSceneXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -5489,7 +5489,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -5502,7 +5502,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -5515,7 +5515,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -5529,7 +5529,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -5543,13 +5543,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -5567,13 +5567,13 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -5585,7 +5585,7 @@ type LayoutSceneXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneYaxisAutorangeoptions @@ -5613,7 +5613,7 @@ type LayoutSceneYaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -5641,7 +5641,7 @@ type LayoutSceneYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -5654,13 +5654,13 @@ type LayoutSceneYaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -5687,7 +5687,7 @@ type LayoutSceneYaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSceneYaxisTickformatstop @@ -5703,25 +5703,25 @@ type LayoutSceneYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -5737,7 +5737,7 @@ type LayoutSceneYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -5750,13 +5750,13 @@ type LayoutSceneYaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -5783,7 +5783,7 @@ type LayoutSceneYaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSceneYaxisTitle @@ -5798,7 +5798,7 @@ type LayoutSceneYaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneYaxis @@ -5848,7 +5848,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -5886,13 +5886,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -5910,7 +5910,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -5928,7 +5928,7 @@ type LayoutSceneYaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -5941,7 +5941,7 @@ type LayoutSceneYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -5960,19 +5960,19 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -5985,25 +5985,25 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -6029,13 +6029,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -6047,7 +6047,7 @@ type LayoutSceneYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -6064,7 +6064,7 @@ type LayoutSceneYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -6075,7 +6075,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -6088,7 +6088,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -6101,7 +6101,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -6115,7 +6115,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -6129,13 +6129,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -6153,13 +6153,13 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -6171,7 +6171,7 @@ type LayoutSceneYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutSceneZaxisAutorangeoptions @@ -6199,7 +6199,7 @@ type LayoutSceneZaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -6227,7 +6227,7 @@ type LayoutSceneZaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -6240,13 +6240,13 @@ type LayoutSceneZaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -6273,7 +6273,7 @@ type LayoutSceneZaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSceneZaxisTickformatstop @@ -6289,25 +6289,25 @@ type LayoutSceneZaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutSceneZaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -6323,7 +6323,7 @@ type LayoutSceneZaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -6336,13 +6336,13 @@ type LayoutSceneZaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -6369,7 +6369,7 @@ type LayoutSceneZaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSceneZaxisTitle @@ -6384,7 +6384,7 @@ type LayoutSceneZaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutSceneZaxis @@ -6434,7 +6434,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -6472,13 +6472,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -6496,7 +6496,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Maxallowed // arrayOK: false @@ -6514,7 +6514,7 @@ type LayoutSceneZaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Mirror // arrayOK: false @@ -6527,7 +6527,7 @@ type LayoutSceneZaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Range // arrayOK: false @@ -6546,19 +6546,19 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showaxeslabels // arrayOK: false // type: boolean // Sets whether or not this axis is labeled - Showaxeslabels types.Bool `json:"showaxeslabels,omitempty"` + Showaxeslabels types.BoolType `json:"showaxeslabels,omitempty"` // Showbackground // arrayOK: false // type: boolean // Sets whether or not this axis' wall has a background color. - Showbackground types.Bool `json:"showbackground,omitempty"` + Showbackground types.BoolType `json:"showbackground,omitempty"` // Showexponent // arrayOK: false @@ -6571,25 +6571,25 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Sets whether or not spikes starting from data points to this axis' wall are shown on hover. - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -6615,13 +6615,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // Sets whether or not spikes extending from the projection data points to this axis' wall boundaries are shown on hover. - Spikesides types.Bool `json:"spikesides,omitempty"` + Spikesides types.BoolType `json:"spikesides,omitempty"` // Spikethickness // arrayOK: false // type: number // Sets the thickness (in px) of the spikes. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -6633,7 +6633,7 @@ type LayoutSceneZaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -6650,7 +6650,7 @@ type LayoutSceneZaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -6661,7 +6661,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -6674,7 +6674,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -6687,7 +6687,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -6701,7 +6701,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -6715,13 +6715,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -6739,13 +6739,13 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -6757,7 +6757,7 @@ type LayoutSceneZaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutScene @@ -6845,13 +6845,13 @@ type SelectionLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutSelection @@ -6866,25 +6866,25 @@ type LayoutSelection struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the selection. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path similar to `shapes.path` in data coordinates. Allowed segments are: M, L and Z. - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -6945,7 +6945,7 @@ type ShapeLabelFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -6958,13 +6958,13 @@ type ShapeLabelFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -6991,7 +6991,7 @@ type ShapeLabelFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ShapeLabel @@ -7006,19 +7006,19 @@ type ShapeLabel struct { // arrayOK: false // type: number // Sets padding (in px) between edge of label and edge of shape. - Padding float64 `json:"padding,omitempty"` + Padding types.NumberType `json:"padding,omitempty"` // Text // arrayOK: false // type: string // Sets the text to display with shape. It is also used for legend item if `name` is not provided. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle at which the label text is drawn with respect to the horizontal. For lines, angle *auto* is the same angle as the line. For all other shapes, angle *auto* is horizontal. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textposition // arrayOK: false @@ -7031,7 +7031,7 @@ type ShapeLabel struct { // arrayOK: false // type: string // Template string used for rendering the shape's label. Note that this will override `text`. Variables are inserted using %{variable}, for example "x0: %{x0}". Numbers are formatted using d3-format's syntax %{variable:d3-format}, for example "Price: %{x0:$.2f}". See 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: %{x0|%m %b %Y}". See https://github.com/d3/d3-time-format/tree/v2.2.3#locale_format for details on the date formatting syntax. A single multiplication or division operation may be applied to numeric variables, and combined with d3 number formatting, for example "Length in cm: %{x0*2.54}", "%{slope*60:.1f} meters per second." For log axes, variable values are given in log units. For date axes, x/y coordinate variables and center variables use datetimes, while all other variable values use values in ms. Finally, the template string has access to variables `x0`, `x1`, `y0`, `y1`, `slope`, `dx`, `dy`, `width`, `height`, `length`, `xcenter` and `ycenter`. - Texttemplate types.String `json:"texttemplate,omitempty"` + Texttemplate types.StringType `json:"texttemplate,omitempty"` // Xanchor // arrayOK: false @@ -7061,7 +7061,7 @@ type ShapeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -7074,13 +7074,13 @@ type ShapeLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -7107,7 +7107,7 @@ type ShapeLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ShapeLegendgrouptitle @@ -7122,7 +7122,7 @@ type ShapeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ShapeLine @@ -7138,13 +7138,13 @@ type ShapeLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // LayoutShape @@ -7154,7 +7154,7 @@ type LayoutShape struct { // arrayOK: false // type: boolean // Determines whether the shape could be activated for edit or not. Has no effect when the older editable shapes mode is enabled via `config.editable` or `config.edits.shapePosition`. - Editable types.Bool `json:"editable,omitempty"` + Editable types.BoolType `json:"editable,omitempty"` // Fillcolor // arrayOK: false @@ -7185,13 +7185,13 @@ type LayoutShape struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this shape in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this shape. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -7202,13 +7202,13 @@ type LayoutShape struct { // arrayOK: false // type: number // Sets the legend rank for this shape. 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this shape. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -7219,31 +7219,31 @@ type LayoutShape struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the shape. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Path // arrayOK: false // type: string // For `type` *path* - a valid SVG path with the pixel values replaced by data values in `xsizemode`/`ysizemode` being *scaled* and taken unmodified as pixels relative to `xanchor` and `yanchor` in case of *pixel* size mode. There are a few restrictions / quirks only absolute instructions, not relative. So the allowed segments are: M, L, H, V, Q, C, T, S, and Z arcs (A) are not allowed because radius rx and ry are relative. In the future we could consider supporting relative commands, but we would have to decide on how to handle date and log axes. Note that even as is, Q and C Bezier paths that are smooth on linear axes may not be smooth on log, and vice versa. no chained "polybezier" commands - specify the segment type for each one. On category axes, values are numbers scaled to the serial numbers of categories because using the categories themselves there would be no way to describe fractional positions On data axes: because space and T are both normal components of path strings, we can't use either to separate date from time parts. Therefore we'll use underscore for this purpose: 2015-02-21_13:45:56.789 - Path types.String `json:"path,omitempty"` + Path types.StringType `json:"path,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not this shape is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -7269,7 +7269,7 @@ type LayoutShape struct { // arrayOK: false // type: number // Shifts `x0` away from the center of the category when `xref` is a *category* or *multicategory* axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category. - X0shift float64 `json:"x0shift,omitempty"` + X0shift types.NumberType `json:"x0shift,omitempty"` // X1 // arrayOK: false @@ -7281,7 +7281,7 @@ type LayoutShape struct { // arrayOK: false // type: number // Shifts `x1` away from the center of the category when `xref` is a *category* or *multicategory* axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category. - X1shift float64 `json:"x1shift,omitempty"` + X1shift types.NumberType `json:"x1shift,omitempty"` // Xanchor // arrayOK: false @@ -7313,7 +7313,7 @@ type LayoutShape struct { // arrayOK: false // type: number // Shifts `y0` away from the center of the category when `yref` is a *category* or *multicategory* axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category. - Y0shift float64 `json:"y0shift,omitempty"` + Y0shift types.NumberType `json:"y0shift,omitempty"` // Y1 // arrayOK: false @@ -7325,7 +7325,7 @@ type LayoutShape struct { // arrayOK: false // type: number // Shifts `y1` away from the center of the category when `yref` is a *category* or *multicategory* axis. -0.5 corresponds to the start of the category and 0.5 corresponds to the end of the category. - Y1shift float64 `json:"y1shift,omitempty"` + Y1shift types.NumberType `json:"y1shift,omitempty"` // Yanchor // arrayOK: false @@ -7361,7 +7361,7 @@ type SliderCurrentvalueFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -7374,13 +7374,13 @@ type SliderCurrentvalueFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -7407,7 +7407,7 @@ type SliderCurrentvalueFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SliderCurrentvalue @@ -7422,25 +7422,25 @@ type SliderCurrentvalue struct { // arrayOK: false // type: number // The amount of space, in pixels, between the current value label and the slider. - Offset float64 `json:"offset,omitempty"` + Offset types.NumberType `json:"offset,omitempty"` // Prefix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the prefix of the label. - Prefix types.String `json:"prefix,omitempty"` + Prefix types.StringType `json:"prefix,omitempty"` // Suffix // arrayOK: false // type: string // When currentvalue.visible is true, this sets the suffix of the label. - Suffix types.String `json:"suffix,omitempty"` + Suffix types.StringType `json:"suffix,omitempty"` // Visible // arrayOK: false // type: boolean // Shows the currently-selected value above the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Xanchor // arrayOK: false @@ -7463,7 +7463,7 @@ type SliderFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -7476,13 +7476,13 @@ type SliderFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -7509,7 +7509,7 @@ type SliderFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SliderPad Set the padding of the slider component along each side. @@ -7519,25 +7519,25 @@ type SliderPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // SliderStep @@ -7553,13 +7553,13 @@ type SliderStep struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_sliderchange` method and executing the API command manually without losing the benefit of the slider automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the slider - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -7572,25 +7572,25 @@ type SliderStep struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // Sets the value of the slider step, used to refer to the step programatically. Defaults to the slider label if not provided. - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this step is included in the slider. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SliderTransition @@ -7600,7 +7600,7 @@ type SliderTransition struct { // arrayOK: false // type: number // Sets the duration of the slider transition - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -7617,7 +7617,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Determines which button (by index starting from 0) is considered active. - Active float64 `json:"active,omitempty"` + Active types.NumberType `json:"active,omitempty"` // Activebgcolor // arrayOK: false @@ -7641,7 +7641,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the slider. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Currentvalue // arrayOK: false @@ -7657,7 +7657,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length of the slider This measure excludes the padding of both ends. That is, the slider's length is this length minus the padding on both ends. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -7670,13 +7670,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of minor step tick marks - Minorticklen float64 `json:"minorticklen,omitempty"` + Minorticklen types.NumberType `json:"minorticklen,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -7692,7 +7692,7 @@ type LayoutSlider struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Tickcolor // arrayOK: false @@ -7704,13 +7704,13 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the length in pixels of step tick marks - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transition // arrayOK: false @@ -7721,13 +7721,13 @@ type LayoutSlider struct { // arrayOK: false // type: boolean // Determines whether or not the slider is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the slider. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -7740,7 +7740,7 @@ type LayoutSlider struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the slider. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -7757,13 +7757,13 @@ type LayoutSmithDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this smith subplot . - Column int64 `json:"column,omitempty"` + 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 smith subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -7791,7 +7791,7 @@ type LayoutSmithImaginaryaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -7804,13 +7804,13 @@ type LayoutSmithImaginaryaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -7837,7 +7837,7 @@ type LayoutSmithImaginaryaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSmithImaginaryaxis @@ -7859,19 +7859,19 @@ type LayoutSmithImaginaryaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -7896,25 +7896,25 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -7945,19 +7945,19 @@ type LayoutSmithImaginaryaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -7970,7 +7970,7 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -7984,19 +7984,19 @@ type LayoutSmithImaginaryaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmithRealaxisTickfont Sets the tick font. @@ -8012,7 +8012,7 @@ type LayoutSmithRealaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -8025,13 +8025,13 @@ type LayoutSmithRealaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -8058,7 +8058,7 @@ type LayoutSmithRealaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutSmithRealaxis @@ -8080,19 +8080,19 @@ type LayoutSmithRealaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -8117,25 +8117,25 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -8162,7 +8162,7 @@ type LayoutSmithRealaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -8179,19 +8179,19 @@ type LayoutSmithRealaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickprefix // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -8204,7 +8204,7 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Tickvals // arrayOK: false @@ -8218,19 +8218,19 @@ type LayoutSmithRealaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Visible // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutSmith @@ -8271,7 +8271,7 @@ type LayoutTernaryAaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -8284,13 +8284,13 @@ type LayoutTernaryAaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -8317,7 +8317,7 @@ type LayoutTernaryAaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTernaryAaxisTickformatstop @@ -8333,25 +8333,25 @@ type LayoutTernaryAaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryAaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -8367,7 +8367,7 @@ type LayoutTernaryAaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -8380,13 +8380,13 @@ type LayoutTernaryAaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -8413,7 +8413,7 @@ type LayoutTernaryAaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTernaryAaxisTitle @@ -8428,7 +8428,7 @@ type LayoutTernaryAaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryAaxis @@ -8463,19 +8463,19 @@ type LayoutTernaryAaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -8500,31 +8500,31 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -8537,19 +8537,19 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -8575,7 +8575,7 @@ type LayoutTernaryAaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -8592,7 +8592,7 @@ type LayoutTernaryAaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -8603,13 +8603,13 @@ type LayoutTernaryAaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -8622,7 +8622,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -8635,7 +8635,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -8649,7 +8649,7 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -8663,13 +8663,13 @@ type LayoutTernaryAaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -8696,7 +8696,7 @@ type LayoutTernaryBaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -8709,13 +8709,13 @@ type LayoutTernaryBaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -8742,7 +8742,7 @@ type LayoutTernaryBaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTernaryBaxisTickformatstop @@ -8758,25 +8758,25 @@ type LayoutTernaryBaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryBaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -8792,7 +8792,7 @@ type LayoutTernaryBaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -8805,13 +8805,13 @@ type LayoutTernaryBaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -8838,7 +8838,7 @@ type LayoutTernaryBaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTernaryBaxisTitle @@ -8853,7 +8853,7 @@ type LayoutTernaryBaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryBaxis @@ -8888,19 +8888,19 @@ type LayoutTernaryBaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -8925,31 +8925,31 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -8962,19 +8962,19 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -9000,7 +9000,7 @@ type LayoutTernaryBaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -9017,7 +9017,7 @@ type LayoutTernaryBaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -9028,13 +9028,13 @@ type LayoutTernaryBaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9047,7 +9047,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -9060,7 +9060,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -9074,7 +9074,7 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -9088,13 +9088,13 @@ type LayoutTernaryBaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -9121,7 +9121,7 @@ type LayoutTernaryCaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -9134,13 +9134,13 @@ type LayoutTernaryCaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -9167,7 +9167,7 @@ type LayoutTernaryCaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTernaryCaxisTickformatstop @@ -9183,25 +9183,25 @@ type LayoutTernaryCaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutTernaryCaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -9217,7 +9217,7 @@ type LayoutTernaryCaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -9230,13 +9230,13 @@ type LayoutTernaryCaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -9263,7 +9263,7 @@ type LayoutTernaryCaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTernaryCaxisTitle @@ -9278,7 +9278,7 @@ type LayoutTernaryCaxisTitle struct { // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTernaryCaxis @@ -9313,19 +9313,19 @@ type LayoutTernaryCaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Labelalias // arrayOK: false @@ -9350,31 +9350,31 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Min // arrayOK: false // type: number // The minimum value visible on this axis. The maximum is determined by the sum minus the minimum values of the other two axes. The full view corresponds to all the minima set to zero. - Min float64 `json:"min,omitempty"` + Min types.NumberType `json:"min,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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -9387,19 +9387,19 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -9425,7 +9425,7 @@ type LayoutTernaryCaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -9442,7 +9442,7 @@ type LayoutTernaryCaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -9453,13 +9453,13 @@ type LayoutTernaryCaxis struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -9472,7 +9472,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -9485,7 +9485,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -9499,7 +9499,7 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -9513,13 +9513,13 @@ type LayoutTernaryCaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -9540,13 +9540,13 @@ type LayoutTernaryDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this ternary subplot . - Column int64 `json:"column,omitempty"` + 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 ternary subplot . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -9594,7 +9594,7 @@ type LayoutTernary struct { // arrayOK: false // type: number // The number each triplet should sum to, and the maximum range of each axis - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Uirevision // arrayOK: false @@ -9616,7 +9616,7 @@ type LayoutTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -9629,13 +9629,13 @@ type LayoutTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -9662,7 +9662,7 @@ type LayoutTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTitlePad Sets the padding of the title. Each padding value only applies when the corresponding `xanchor`/`yanchor` value is set accordingly. E.g. for left padding to take effect, `xanchor` must be set to *left*. The same rule applies if `xanchor`/`yanchor` is determined automatically. Padding is muted if the respective anchor value is *middle*/*center*. @@ -9672,25 +9672,25 @@ type LayoutTitlePad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutTitleSubtitleFont Sets the subtitle font. @@ -9706,7 +9706,7 @@ type LayoutTitleSubtitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -9719,13 +9719,13 @@ type LayoutTitleSubtitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -9752,7 +9752,7 @@ type LayoutTitleSubtitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutTitleSubtitle @@ -9767,7 +9767,7 @@ type LayoutTitleSubtitle struct { // arrayOK: false // type: string // Sets the plot's subtitle. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutTitle @@ -9777,7 +9777,7 @@ type LayoutTitle struct { // arrayOK: false // type: boolean // Determines whether the title can automatically push the figure margins. If `yref='paper'` then the margin will expand to ensure that the title doesn’t overlap with the edges of the container. If `yref='container'` then the margins will ensure that the title doesn’t overlap with the plot area, tick labels, and axis titles. If `automargin=true` and the margins need to be expanded, then y will be set to a default 1 and yanchor will be set to an appropriate default to ensure that minimal margin space is needed. Note that when `yref='paper'`, only 1 or 0 are allowed y values. Invalid values will be reset to the default 1. - Automargin types.Bool `json:"automargin,omitempty"` + Automargin types.BoolType `json:"automargin,omitempty"` // Font // arrayOK: false @@ -9798,13 +9798,13 @@ type LayoutTitle struct { // arrayOK: false // type: string // Sets the plot's title. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // X // arrayOK: false // type: number // Sets the x position with respect to `xref` in normalized coordinates from *0* (left) to *1* (right). - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -9824,7 +9824,7 @@ type LayoutTitle struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` in normalized coordinates from *0* (bottom) to *1* (top). *auto* places the baseline of the title onto the vertical center of the top margin. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -9848,7 +9848,7 @@ type LayoutTransition struct { // arrayOK: false // type: number // The duration of the transition, in milliseconds. If equal to zero, updates are synchronous. - Duration float64 `json:"duration,omitempty"` + Duration types.NumberType `json:"duration,omitempty"` // Easing // arrayOK: false @@ -9872,7 +9872,7 @@ type LayoutUniformtext struct { // arrayOK: false // type: number // Sets the minimum text size between traces of the same type. - Minsize float64 `json:"minsize,omitempty"` + Minsize types.NumberType `json:"minsize,omitempty"` // Mode // arrayOK: false @@ -9901,13 +9901,13 @@ type UpdatemenuButton struct { // arrayOK: false // type: boolean // When true, the API method is executed. When false, all other behaviors are the same and command execution is skipped. This may be useful when hooking into, for example, the `plotly_buttonclicked` method and executing the API command manually without losing the benefit of the updatemenu automatically binding to the state of the plot through the specification of `method` and `args`. - Execute types.Bool `json:"execute,omitempty"` + Execute types.BoolType `json:"execute,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Method // arrayOK: false @@ -9920,19 +9920,19 @@ type UpdatemenuButton struct { // 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // UpdatemenuFont Sets the font of the update menu button text. @@ -9948,7 +9948,7 @@ type UpdatemenuFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -9961,13 +9961,13 @@ type UpdatemenuFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -9994,7 +9994,7 @@ type UpdatemenuFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // UpdatemenuPad Sets the padding around the buttons or dropdown menu. @@ -10004,25 +10004,25 @@ type UpdatemenuPad struct { // arrayOK: false // type: number // The amount of padding (in px) along the bottom of the component. - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // The amount of padding (in px) on the left side of the component. - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // The amount of padding (in px) on the right side of the component. - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // The amount of padding (in px) along the top of the component. - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // LayoutUpdatemenu @@ -10032,7 +10032,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: integer // Determines which button (by index starting from 0) is considered active. - Active int64 `json:"active,omitempty"` + Active types.IntegerType `json:"active,omitempty"` // Bgcolor // arrayOK: false @@ -10050,7 +10050,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the update menu. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -10073,7 +10073,7 @@ type LayoutUpdatemenu struct { // 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pad // arrayOK: false @@ -10084,13 +10084,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Highlights active dropdown item or active button if true. - Showactive types.Bool `json:"showactive,omitempty"` + Showactive types.BoolType `json:"showactive,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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Type // arrayOK: false @@ -10103,13 +10103,13 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: boolean // Determines whether or not the update menu is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the update menu. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -10122,7 +10122,7 @@ type LayoutUpdatemenu struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the update menu. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -10157,7 +10157,7 @@ type LayoutXaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -10191,25 +10191,25 @@ type LayoutXaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -10227,7 +10227,7 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -10255,13 +10255,13 @@ type LayoutXaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutXaxisRangebreak @@ -10277,19 +10277,19 @@ type LayoutXaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -10302,7 +10302,7 @@ type LayoutXaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -10318,19 +10318,19 @@ type LayoutXaxisRangeselectorButton struct { // arrayOK: false // type: number // Sets the number of steps to take to update the range. Use with `step` to specify the update interval. - Count float64 `json:"count,omitempty"` + Count types.NumberType `json:"count,omitempty"` // Label // arrayOK: false // type: string // Sets the text label to appear on the button. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Step // arrayOK: false @@ -10350,13 +10350,13 @@ type LayoutXaxisRangeselectorButton struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this button is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // LayoutXaxisRangeselectorFont Sets the font of the range selector button text. @@ -10372,7 +10372,7 @@ type LayoutXaxisRangeselectorFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -10385,13 +10385,13 @@ type LayoutXaxisRangeselectorFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -10418,7 +10418,7 @@ type LayoutXaxisRangeselectorFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutXaxisRangeselector @@ -10446,7 +10446,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the width (in px) of the border enclosing the range selector. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Buttons // role: Object @@ -10462,13 +10462,13 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: boolean // Determines whether or not this range selector is visible. Note that range selectors are only available for x axes of `type` set to or auto-typed to *date*. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // X // arrayOK: false // type: number // Sets the x position (in normalized coordinates) of the range selector. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -10481,7 +10481,7 @@ type LayoutXaxisRangeselector struct { // arrayOK: false // type: number // Sets the y position (in normalized coordinates) of the range selector. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -10515,7 +10515,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: boolean // Determines whether or not the range slider range is computed in relation to the input data. If `range` is provided, then `autorange` is set to *false*. - Autorange types.Bool `json:"autorange,omitempty"` + Autorange types.BoolType `json:"autorange,omitempty"` // Bgcolor // arrayOK: false @@ -10533,7 +10533,7 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: integer // Sets the border width of the range slider. - Borderwidth int64 `json:"borderwidth,omitempty"` + Borderwidth types.IntegerType `json:"borderwidth,omitempty"` // Range // arrayOK: false @@ -10545,13 +10545,13 @@ type LayoutXaxisRangeslider struct { // arrayOK: false // type: number // The height of the range slider as a fraction of the total plot area height. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not the range slider will be visible. If visible, perpendicular axes will be set to `fixedrange` - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Yaxis // arrayOK: false @@ -10572,7 +10572,7 @@ type LayoutXaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -10585,13 +10585,13 @@ type LayoutXaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -10618,7 +10618,7 @@ type LayoutXaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutXaxisTickformatstop @@ -10634,25 +10634,25 @@ type LayoutXaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutXaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -10668,7 +10668,7 @@ type LayoutXaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -10681,13 +10681,13 @@ type LayoutXaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -10714,7 +10714,7 @@ type LayoutXaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutXaxisTitle @@ -10729,13 +10729,13 @@ type LayoutXaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutXaxis @@ -10799,7 +10799,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -10838,7 +10838,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -10863,7 +10863,7 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -10875,19 +10875,19 @@ type LayoutXaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Insiderange // arrayOK: false @@ -10918,7 +10918,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -10943,7 +10943,7 @@ type LayoutXaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -10961,7 +10961,7 @@ type LayoutXaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -10974,7 +10974,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -11015,19 +11015,19 @@ type LayoutXaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -11040,25 +11040,25 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -11091,7 +11091,7 @@ type LayoutXaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -11111,7 +11111,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -11123,7 +11123,7 @@ type LayoutXaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -11140,7 +11140,7 @@ type LayoutXaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -11151,13 +11151,13 @@ type LayoutXaxis struct { // arrayOK: true // type: integer // Only for axes with `type` *date* or *linear*. Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `ticklabelindex` -1. This is useful for date axes with `ticklabelmode` *period* if you want to label the period that ends with each major tick instead of the period that begins there. - Ticklabelindex *types.ArrayOK[*int64] `json:"ticklabelindex,omitempty"` + Ticklabelindex *types.ArrayOK[*types.IntegerType] `json:"ticklabelindex,omitempty"` // Ticklabelindexsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticklabelindex`. - Ticklabelindexsrc types.String `json:"ticklabelindexsrc,omitempty"` + Ticklabelindexsrc types.StringType `json:"ticklabelindexsrc,omitempty"` // Ticklabelmode // arrayOK: false @@ -11184,25 +11184,25 @@ type LayoutXaxis struct { // arrayOK: false // type: integer // Shifts the tick labels by the specified number of pixels in parallel to the axis. Positive values move the labels in the positive direction of the axis. - Ticklabelshift int64 `json:"ticklabelshift,omitempty"` + Ticklabelshift types.IntegerType `json:"ticklabelshift,omitempty"` // Ticklabelstandoff // arrayOK: false // type: integer // Sets the standoff distance (in px) between the axis tick labels and their default position. A positive `ticklabelstandoff` moves the labels farther away from the plot area if `ticklabelposition` is *outside*, and deeper into the plot area if `ticklabelposition` is *inside*. A negative `ticklabelstandoff` works in the opposite direction, moving outside ticks towards the plot area and inside ticks towards the outside. If the negative value is large enough, inside ticks can even end up outside and vice versa. - Ticklabelstandoff int64 `json:"ticklabelstandoff,omitempty"` + Ticklabelstandoff types.IntegerType `json:"ticklabelstandoff,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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -11215,7 +11215,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -11235,7 +11235,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -11249,7 +11249,7 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -11263,13 +11263,13 @@ type LayoutXaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -11293,13 +11293,13 @@ type LayoutXaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -11311,7 +11311,7 @@ type LayoutXaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // LayoutYaxisAutorangeoptions @@ -11339,7 +11339,7 @@ type LayoutYaxisAutorangeoptions struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `include`. - Includesrc types.String `json:"includesrc,omitempty"` + Includesrc types.StringType `json:"includesrc,omitempty"` // Maxallowed // arrayOK: false @@ -11373,25 +11373,25 @@ type LayoutYaxisMinor struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Showgrid // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Tick0 // arrayOK: false @@ -11409,7 +11409,7 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -11437,13 +11437,13 @@ type LayoutYaxisMinor struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` } // LayoutYaxisRangebreak @@ -11459,19 +11459,19 @@ type LayoutYaxisRangebreak struct { // arrayOK: false // type: number // Sets the size of each `values` item. The default is one day in milliseconds. - Dvalue float64 `json:"dvalue,omitempty"` + Dvalue types.NumberType `json:"dvalue,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether this axis rangebreak is enabled or disabled. Please note that `rangebreaks` only work for *date* axis type. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Pattern // arrayOK: false @@ -11484,7 +11484,7 @@ type LayoutYaxisRangebreak struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -11506,7 +11506,7 @@ type LayoutYaxisTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -11519,13 +11519,13 @@ type LayoutYaxisTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -11552,7 +11552,7 @@ type LayoutYaxisTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutYaxisTickformatstop @@ -11568,25 +11568,25 @@ type LayoutYaxisTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // LayoutYaxisTitleFont Sets this axis' title font. Note that the title's font used to be customized by the now deprecated `titlefont` attribute. @@ -11602,7 +11602,7 @@ type LayoutYaxisTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -11615,13 +11615,13 @@ type LayoutYaxisTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -11648,7 +11648,7 @@ type LayoutYaxisTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // LayoutYaxisTitle @@ -11663,13 +11663,13 @@ type LayoutYaxisTitle struct { // arrayOK: false // type: number // Sets the standoff distance (in px) between the axis labels and the title text The default value is a function of the axis tick labels, the title `font.size` and the axis `linewidth`. Note that the axis title position is always constrained within the margins, so the actual standoff distance is always less than the set or default value. By setting `standoff` and turning on `automargin`, plotly.js will push the margins to fit the axis title at given standoff distance. - Standoff float64 `json:"standoff,omitempty"` + Standoff types.NumberType `json:"standoff,omitempty"` // Text // arrayOK: false // type: string // Sets the title of this axis. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // LayoutYaxis @@ -11705,7 +11705,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Automatically reposition the axis to avoid overlap with other axes with the same `overlaying` value. This repositioning will account for any `shift` amount applied to other axes on the same side with `autoshift` is set to true. Only has an effect if `anchor` is set to *free*. - Autoshift types.Bool `json:"autoshift,omitempty"` + Autoshift types.BoolType `json:"autoshift,omitempty"` // Autotickangles // arrayOK: false @@ -11739,7 +11739,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -11778,7 +11778,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the dividers Only has an effect on *multicategory* axes. - Dividerwidth float64 `json:"dividerwidth,omitempty"` + Dividerwidth types.NumberType `json:"dividerwidth,omitempty"` // Domain // arrayOK: false @@ -11803,7 +11803,7 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not this axis is zoom-able. If true, then zoom is disabled. - Fixedrange types.Bool `json:"fixedrange,omitempty"` + Fixedrange types.BoolType `json:"fixedrange,omitempty"` // Gridcolor // arrayOK: false @@ -11815,19 +11815,19 @@ type LayoutYaxis struct { // 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*). - Griddash types.String `json:"griddash,omitempty"` + Griddash types.StringType `json:"griddash,omitempty"` // Gridwidth // arrayOK: false // type: number // Sets the width (in px) of the grid lines. - Gridwidth float64 `json:"gridwidth,omitempty"` + Gridwidth types.NumberType `json:"gridwidth,omitempty"` // Hoverformat // arrayOK: false // type: string // Sets the hover text 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* - Hoverformat types.String `json:"hoverformat,omitempty"` + Hoverformat types.StringType `json:"hoverformat,omitempty"` // Insiderange // arrayOK: false @@ -11858,7 +11858,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Linewidth float64 `json:"linewidth,omitempty"` + Linewidth types.NumberType `json:"linewidth,omitempty"` // Matches // arrayOK: false @@ -11883,7 +11883,7 @@ type LayoutYaxis struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + Minexponent types.NumberType `json:"minexponent,omitempty"` // Minor // arrayOK: false @@ -11901,7 +11901,7 @@ type LayoutYaxis struct { // 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Overlaying // arrayOK: false @@ -11914,7 +11914,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the position of this axis in the plotting space (in normalized coordinates). Only has an effect if `anchor` is set to *free*. - Position float64 `json:"position,omitempty"` + Position types.NumberType `json:"position,omitempty"` // Range // arrayOK: false @@ -11945,25 +11945,25 @@ type LayoutYaxis struct { // arrayOK: false // type: number // If this axis is linked to another by `scaleanchor`, this determines the pixel to unit scale ratio. For example, if this value is 10, then every unit on this axis spans 10 times the number of pixels as a unit on the linked axis. Use this for example to create an elevation profile where the vertical scale is exaggerated a fixed amount with respect to the horizontal. - Scaleratio float64 `json:"scaleratio,omitempty"` + Scaleratio types.NumberType `json:"scaleratio,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Shift // arrayOK: false // type: number // Moves the axis a given number of pixels from where it would have been otherwise. Accepts both positive and negative values, which will shift the axis either right or left, respectively. If `autoshift` is set to true, then this defaults to a padding of -3 if `side` is set to *left*. and defaults to +3 if `side` is set to *right*. Defaults to 0 if `autoshift` is set to false. Only has an effect if `anchor` is set to *free*. - Shift float64 `json:"shift,omitempty"` + Shift types.NumberType `json:"shift,omitempty"` // Showdividers // arrayOK: false // type: boolean // Determines whether or not a dividers are drawn between the category levels of this axis. Only has an effect on *multicategory* axes. - Showdividers types.Bool `json:"showdividers,omitempty"` + Showdividers types.BoolType `json:"showdividers,omitempty"` // Showexponent // arrayOK: false @@ -11976,25 +11976,25 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // Determines whether or not grid lines are drawn. If *true*, the grid lines are drawn at every tick mark. - Showgrid types.Bool `json:"showgrid,omitempty"` + Showgrid types.BoolType `json:"showgrid,omitempty"` // Showline // arrayOK: false // type: boolean // Determines whether or not a line bounding this axis is drawn. - Showline types.Bool `json:"showline,omitempty"` + Showline types.BoolType `json:"showline,omitempty"` // Showspikes // arrayOK: false // type: boolean // Determines whether or not spikes (aka droplines) are drawn for this axis. Note: This only takes affect when hovermode = closest - Showspikes types.Bool `json:"showspikes,omitempty"` + Showspikes types.BoolType `json:"showspikes,omitempty"` // Showticklabels // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -12027,7 +12027,7 @@ type LayoutYaxis struct { // 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*). - Spikedash types.String `json:"spikedash,omitempty"` + Spikedash types.StringType `json:"spikedash,omitempty"` // Spikemode // arrayOK: false @@ -12047,7 +12047,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Spikethickness float64 `json:"spikethickness,omitempty"` + Spikethickness types.NumberType `json:"spikethickness,omitempty"` // Tick0 // arrayOK: false @@ -12059,7 +12059,7 @@ type LayoutYaxis struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -12076,7 +12076,7 @@ type LayoutYaxis struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -12087,13 +12087,13 @@ type LayoutYaxis struct { // arrayOK: true // type: integer // Only for axes with `type` *date* or *linear*. Instead of drawing the major tick label, draw the label for the minor tick that is n positions away from the major tick. E.g. to always draw the label for the minor tick before each major tick, choose `ticklabelindex` -1. This is useful for date axes with `ticklabelmode` *period* if you want to label the period that ends with each major tick instead of the period that begins there. - Ticklabelindex *types.ArrayOK[*int64] `json:"ticklabelindex,omitempty"` + Ticklabelindex *types.ArrayOK[*types.IntegerType] `json:"ticklabelindex,omitempty"` // Ticklabelindexsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticklabelindex`. - Ticklabelindexsrc types.String `json:"ticklabelindexsrc,omitempty"` + Ticklabelindexsrc types.StringType `json:"ticklabelindexsrc,omitempty"` // Ticklabelmode // arrayOK: false @@ -12120,25 +12120,25 @@ type LayoutYaxis struct { // arrayOK: false // type: integer // Shifts the tick labels by the specified number of pixels in parallel to the axis. Positive values move the labels in the positive direction of the axis. - Ticklabelshift int64 `json:"ticklabelshift,omitempty"` + Ticklabelshift types.IntegerType `json:"ticklabelshift,omitempty"` // Ticklabelstandoff // arrayOK: false // type: integer // Sets the standoff distance (in px) between the axis tick labels and their default position. A positive `ticklabelstandoff` moves the labels farther away from the plot area if `ticklabelposition` is *outside*, and deeper into the plot area if `ticklabelposition` is *inside*. A negative `ticklabelstandoff` works in the opposite direction, moving outside ticks towards the plot area and inside ticks towards the outside. If the negative value is large enough, inside ticks can even end up outside and vice versa. - Ticklabelstandoff int64 `json:"ticklabelstandoff,omitempty"` + Ticklabelstandoff types.IntegerType `json:"ticklabelstandoff,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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -12151,7 +12151,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -12171,7 +12171,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -12185,7 +12185,7 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -12199,13 +12199,13 @@ type LayoutYaxis struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -12229,13 +12229,13 @@ type LayoutYaxis struct { // arrayOK: false // type: boolean // A single toggle to hide the axis while preserving interaction like dragging. Default is true when a cheater plot is present on the axis, otherwise false - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Zeroline // arrayOK: false // type: boolean // Determines whether or not a line is drawn at along the 0 value of this axis. If *true*, the zero line is drawn on top of the grid lines. - Zeroline types.Bool `json:"zeroline,omitempty"` + Zeroline types.BoolType `json:"zeroline,omitempty"` // Zerolinecolor // arrayOK: false @@ -12247,7 +12247,7 @@ type LayoutYaxis struct { // arrayOK: false // type: number // Sets the width (in px) of the zero line. - Zerolinewidth float64 `json:"zerolinewidth,omitempty"` + Zerolinewidth types.NumberType `json:"zerolinewidth,omitempty"` } // AnnotationAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.34.0/graph_objects/mesh3d_gen.go b/generated/v2.34.0/graph_objects/mesh3d_gen.go index dce2603..c8b08fd 100644 --- a/generated/v2.34.0/graph_objects/mesh3d_gen.go +++ b/generated/v2.34.0/graph_objects/mesh3d_gen.go @@ -32,37 +32,37 @@ type Mesh3d struct { // arrayOK: false // type: number // Determines how the mesh surface triangles are derived from the set of vertices (points) represented by the `x`, `y` and `z` arrays, if the `i`, `j`, `k` arrays are not supplied. For general use of `mesh3d` it is preferred that `i`, `j`, `k` are supplied. If *-1*, Delaunay triangulation is used, which is mainly suitable if the mesh is a single, more or less layer surface that is perpendicular to `delaunayaxis`. In case the `delaunayaxis` intersects the mesh surface at more than one point it will result triangles that are very long in the dimension of `delaunayaxis`. If *>0*, the alpha-shape algorithm is used. In this case, the positive `alphahull` value signals the use of the alpha-shape algorithm, _and_ its value acts as the parameter for the mesh fitting. If *0*, the convex-hull algorithm is used. It is suitable for convex bodies or if the intention is to enclose the `x`, `y` and `z` point set into a convex hull. - Alphahull float64 `json:"alphahull,omitempty"` + Alphahull types.NumberType `json:"alphahull,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `intensity`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `intensity` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `intensity`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `intensity` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: false @@ -74,7 +74,7 @@ type Mesh3d struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -104,7 +104,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Delaunayaxis // arrayOK: false @@ -125,13 +125,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `facecolor`. - Facecolorsrc types.String `json:"facecolorsrc,omitempty"` + Facecolorsrc types.StringType `json:"facecolorsrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -144,7 +144,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -155,25 +155,25 @@ type Mesh3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // I // arrayOK: false @@ -195,7 +195,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Intensity // arrayOK: false @@ -216,13 +216,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `intensity`. - Intensitysrc types.String `json:"intensitysrc,omitempty"` + Intensitysrc types.StringType `json:"intensitysrc,omitempty"` // Isrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `i`. - Isrc types.String `json:"isrc,omitempty"` + Isrc types.StringType `json:"isrc,omitempty"` // J // arrayOK: false @@ -236,7 +236,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `j`. - Jsrc types.String `json:"jsrc,omitempty"` + Jsrc types.StringType `json:"jsrc,omitempty"` // K // arrayOK: false @@ -250,19 +250,19 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `k`. - Ksrc types.String `json:"ksrc,omitempty"` + Ksrc types.StringType `json:"ksrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -273,13 +273,13 @@ type Mesh3d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -301,43 +301,43 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -348,19 +348,19 @@ type Mesh3d struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -380,7 +380,7 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `vertexcolor`. - Vertexcolorsrc types.String `json:"vertexcolorsrc,omitempty"` + Vertexcolorsrc types.StringType `json:"vertexcolorsrc,omitempty"` // Visible // arrayOK: false @@ -408,13 +408,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -435,13 +435,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -462,13 +462,13 @@ type Mesh3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Mesh3dColorbarTickfont Sets the color bar's tick label font @@ -484,7 +484,7 @@ type Mesh3dColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -497,13 +497,13 @@ type Mesh3dColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -530,7 +530,7 @@ type Mesh3dColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Mesh3dColorbarTickformatstop @@ -546,25 +546,25 @@ type Mesh3dColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Mesh3dColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -580,7 +580,7 @@ type Mesh3dColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -593,13 +593,13 @@ type Mesh3dColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -626,7 +626,7 @@ type Mesh3dColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Mesh3dColorbarTitle @@ -648,7 +648,7 @@ type Mesh3dColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dColorbar @@ -670,7 +670,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -695,7 +695,7 @@ type Mesh3dColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -708,13 +708,13 @@ type Mesh3dColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -733,13 +733,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -752,7 +752,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -772,7 +772,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -791,7 +791,7 @@ type Mesh3dColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -808,7 +808,7 @@ type Mesh3dColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -833,13 +833,13 @@ type Mesh3dColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -852,7 +852,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -865,7 +865,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -879,7 +879,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -893,13 +893,13 @@ type Mesh3dColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -910,7 +910,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -923,7 +923,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -936,7 +936,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -949,7 +949,7 @@ type Mesh3dColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -972,13 +972,13 @@ type Mesh3dContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Mesh3dHoverlabelFont Sets the font used in hover labels. @@ -994,19 +994,19 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1019,31 +1019,31 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1056,7 +1056,7 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1069,7 +1069,7 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1082,19 +1082,19 @@ type Mesh3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // Mesh3dHoverlabel @@ -1111,7 +1111,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1123,7 +1123,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1135,7 +1135,7 @@ type Mesh3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1146,13 +1146,13 @@ type Mesh3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Mesh3dLegendgrouptitleFont Sets this legend group's title font. @@ -1168,7 +1168,7 @@ type Mesh3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1181,13 +1181,13 @@ type Mesh3dLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1214,7 +1214,7 @@ type Mesh3dLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Mesh3dLegendgrouptitle @@ -1229,7 +1229,7 @@ type Mesh3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Mesh3dLighting @@ -1239,43 +1239,43 @@ type Mesh3dLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // Mesh3dLightposition @@ -1285,19 +1285,19 @@ type Mesh3dLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // Mesh3dStream @@ -1307,13 +1307,13 @@ type Mesh3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Mesh3dColorbarExponentformat 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. diff --git a/generated/v2.34.0/graph_objects/ohlc_gen.go b/generated/v2.34.0/graph_objects/ohlc_gen.go index 84da54b..3d2d200 100644 --- a/generated/v2.34.0/graph_objects/ohlc_gen.go +++ b/generated/v2.34.0/graph_objects/ohlc_gen.go @@ -40,7 +40,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `close`. - Closesrc types.String `json:"closesrc,omitempty"` + Closesrc types.StringType `json:"closesrc,omitempty"` // Customdata // arrayOK: false @@ -54,7 +54,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -73,7 +73,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `high`. - Highsrc types.String `json:"highsrc,omitempty"` + Highsrc types.StringType `json:"highsrc,omitempty"` // Hoverinfo // arrayOK: true @@ -86,7 +86,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -97,13 +97,13 @@ type Ohlc struct { // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,7 +117,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -128,13 +128,13 @@ type Ohlc struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -145,13 +145,13 @@ type Ohlc struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -170,7 +170,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `low`. - Lowsrc types.String `json:"lowsrc,omitempty"` + Lowsrc types.StringType `json:"lowsrc,omitempty"` // Meta // arrayOK: true @@ -182,19 +182,19 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Open // arrayOK: false @@ -208,7 +208,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `open`. - Opensrc types.String `json:"opensrc,omitempty"` + Opensrc types.StringType `json:"opensrc,omitempty"` // Selectedpoints // arrayOK: false @@ -220,7 +220,7 @@ type Ohlc struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -231,19 +231,19 @@ type Ohlc struct { // arrayOK: true // type: string // Sets hover text elements associated with each sample point. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to this trace's sample points. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the width of the open/close tick marks relative to the *x* minimal interval. - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Transforms // role: Object @@ -254,7 +254,7 @@ type Ohlc struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -281,7 +281,7 @@ type Ohlc struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -294,7 +294,7 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -319,25 +319,25 @@ type Ohlc struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // OhlcDecreasingLine @@ -353,13 +353,13 @@ type OhlcDecreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcDecreasing @@ -384,19 +384,19 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -409,31 +409,31 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -446,7 +446,7 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -459,7 +459,7 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -472,19 +472,19 @@ type OhlcHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // OhlcHoverlabel @@ -501,7 +501,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -513,7 +513,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -525,7 +525,7 @@ type OhlcHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -536,19 +536,19 @@ type OhlcHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` // Split // arrayOK: false // type: boolean // Show hover information (open, close, high, low) in separate labels. - Split types.Bool `json:"split,omitempty"` + Split types.BoolType `json:"split,omitempty"` } // OhlcIncreasingLine @@ -564,13 +564,13 @@ type OhlcIncreasingLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcIncreasing @@ -595,7 +595,7 @@ type OhlcLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -608,13 +608,13 @@ type OhlcLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -641,7 +641,7 @@ type OhlcLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // OhlcLegendgrouptitle @@ -656,7 +656,7 @@ type OhlcLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // OhlcLine @@ -666,13 +666,13 @@ type OhlcLine struct { // 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*). Note that this style setting can also be set per direction via `increasing.line.dash` and `decreasing.line.dash`. - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // [object Object] Note that this style setting can also be set per direction via `increasing.line.width` and `decreasing.line.width`. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // OhlcStream @@ -682,13 +682,13 @@ type OhlcStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // OhlcTransform 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. diff --git a/generated/v2.34.0/graph_objects/parcats_gen.go b/generated/v2.34.0/graph_objects/parcats_gen.go index c7a1204..8c39e35 100644 --- a/generated/v2.34.0/graph_objects/parcats_gen.go +++ b/generated/v2.34.0/graph_objects/parcats_gen.go @@ -39,19 +39,19 @@ type Parcats struct { // arrayOK: false // type: boolean // Sort paths so that like colors are bundled together within each category. - Bundlecolors types.Bool `json:"bundlecolors,omitempty"` + 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 - Counts *types.ArrayOK[*float64] `json:"counts,omitempty"` + Counts *types.ArrayOK[*types.NumberType] `json:"counts,omitempty"` // Countssrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `counts`. - Countssrc types.String `json:"countssrc,omitempty"` + Countssrc types.StringType `json:"countssrc,omitempty"` // Dimensions // role: Object @@ -81,7 +81,7 @@ type Parcats struct { // 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. This value here applies when hovering over dimensions. Note that `*categorycount`, *colorcount* and *bandcolorcount* are only available when `hoveron` contains the *color* flagFinally, the template string has access to variables `count`, `probability`, `category`, `categorycount`, `colorcount` and `bandcolorcount`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + Hovertemplate types.StringType `json:"hovertemplate,omitempty"` // Labelfont // arrayOK: false @@ -97,7 +97,7 @@ type Parcats struct { // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -114,13 +114,13 @@ type Parcats struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Sortpaths // arrayOK: false @@ -148,7 +148,7 @@ type Parcats struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -179,7 +179,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `categoryarray`. - Categoryarraysrc types.String `json:"categoryarraysrc,omitempty"` + Categoryarraysrc types.StringType `json:"categoryarraysrc,omitempty"` // Categoryorder // arrayOK: false @@ -192,13 +192,13 @@ type ParcatsDimension struct { // arrayOK: false // type: integer // The display index of dimension, from left to right, zero indexed, defaults to dimension index. - Displayindex int64 `json:"displayindex,omitempty"` + Displayindex types.IntegerType `json:"displayindex,omitempty"` // Label // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Ticktext // arrayOK: false @@ -212,7 +212,7 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Values // arrayOK: false @@ -226,13 +226,13 @@ type ParcatsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcatsDomain @@ -242,13 +242,13 @@ type ParcatsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcats trace . - Column int64 `json:"column,omitempty"` + 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 . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -276,7 +276,7 @@ type ParcatsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -289,13 +289,13 @@ type ParcatsLabelfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -322,7 +322,7 @@ type ParcatsLabelfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcatsLegendgrouptitleFont Sets this legend group's title font. @@ -338,7 +338,7 @@ type ParcatsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -351,13 +351,13 @@ type ParcatsLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -384,7 +384,7 @@ type ParcatsLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcatsLegendgrouptitle @@ -399,7 +399,7 @@ type ParcatsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbarTickfont Sets the color bar's tick label font @@ -415,7 +415,7 @@ type ParcatsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -428,13 +428,13 @@ type ParcatsLineColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -461,7 +461,7 @@ type ParcatsLineColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcatsLineColorbarTickformatstop @@ -477,25 +477,25 @@ type ParcatsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -511,7 +511,7 @@ type ParcatsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -524,13 +524,13 @@ type ParcatsLineColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -557,7 +557,7 @@ type ParcatsLineColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcatsLineColorbarTitle @@ -579,7 +579,7 @@ type ParcatsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcatsLineColorbar @@ -601,7 +601,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -626,7 +626,7 @@ type ParcatsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -639,13 +639,13 @@ type ParcatsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -664,13 +664,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -683,7 +683,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -703,7 +703,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -722,7 +722,7 @@ type ParcatsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -739,7 +739,7 @@ type ParcatsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -764,13 +764,13 @@ type ParcatsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -783,7 +783,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -796,7 +796,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -810,7 +810,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -824,13 +824,13 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -841,7 +841,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -854,7 +854,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -867,7 +867,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -880,7 +880,7 @@ type ParcatsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -897,31 +897,31 @@ type ParcatsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -933,7 +933,7 @@ type ParcatsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -950,19 +950,19 @@ type ParcatsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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. This value here applies when hovering over lines.Finally, the template string has access to variables `count` and `probability`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate types.String `json:"hovertemplate,omitempty"` + 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Shape // arrayOK: false @@ -975,7 +975,7 @@ type ParcatsLine struct { // 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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcatsStream @@ -985,13 +985,13 @@ type ParcatsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcatsTickfont Sets the font for the `category` labels. @@ -1007,7 +1007,7 @@ type ParcatsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1020,13 +1020,13 @@ type ParcatsTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1053,7 +1053,7 @@ type ParcatsTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,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. diff --git a/generated/v2.34.0/graph_objects/parcoords_gen.go b/generated/v2.34.0/graph_objects/parcoords_gen.go index f0ecc7a..c866904 100644 --- a/generated/v2.34.0/graph_objects/parcoords_gen.go +++ b/generated/v2.34.0/graph_objects/parcoords_gen.go @@ -40,7 +40,7 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dimensions // role: Object @@ -64,13 +64,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Labelangle // arrayOK: false // type: angle // Sets the angle of the labels with respect to the horizontal. For example, a `tickangle` of -90 draws the labels vertically. Tilted labels with *labelangle* may be positioned better inside margins when `labelposition` is set to *bottom*. - Labelangle float64 `json:"labelangle,omitempty"` + Labelangle types.NumberType `json:"labelangle,omitempty"` // Labelfont // arrayOK: false @@ -88,7 +88,7 @@ type Parcoords struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -99,13 +99,13 @@ type Parcoords struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -122,13 +122,13 @@ type Parcoords struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Rangefont // arrayOK: false @@ -154,7 +154,7 @@ type Parcoords struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -188,19 +188,19 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // The shown name of the dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,omitempty"` // Multiselect // arrayOK: false // type: boolean // Do we allow multiple selection ranges or just a single range? - Multiselect types.Bool `json:"multiselect,omitempty"` + Multiselect types.BoolType `json:"multiselect,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. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Range // arrayOK: false @@ -212,13 +212,13 @@ type ParcoordsDimension struct { // 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Ticktext // arrayOK: false @@ -232,7 +232,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -246,7 +246,7 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Values // arrayOK: false @@ -260,13 +260,13 @@ type ParcoordsDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + 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`. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // ParcoordsDomain @@ -276,13 +276,13 @@ type ParcoordsDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this parcoords trace . - Column int64 `json:"column,omitempty"` + 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 parcoords trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -310,7 +310,7 @@ type ParcoordsLabelfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -323,13 +323,13 @@ type ParcoordsLabelfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -356,7 +356,7 @@ type ParcoordsLabelfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcoordsLegendgrouptitleFont Sets this legend group's title font. @@ -372,7 +372,7 @@ type ParcoordsLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -385,13 +385,13 @@ type ParcoordsLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -418,7 +418,7 @@ type ParcoordsLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcoordsLegendgrouptitle @@ -433,7 +433,7 @@ type ParcoordsLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbarTickfont Sets the color bar's tick label font @@ -449,7 +449,7 @@ type ParcoordsLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -462,13 +462,13 @@ type ParcoordsLineColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -495,7 +495,7 @@ type ParcoordsLineColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcoordsLineColorbarTickformatstop @@ -511,25 +511,25 @@ type ParcoordsLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ParcoordsLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -545,7 +545,7 @@ type ParcoordsLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -558,13 +558,13 @@ type ParcoordsLineColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -591,7 +591,7 @@ type ParcoordsLineColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcoordsLineColorbarTitle @@ -613,7 +613,7 @@ type ParcoordsLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ParcoordsLineColorbar @@ -635,7 +635,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -660,7 +660,7 @@ type ParcoordsLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -673,13 +673,13 @@ type ParcoordsLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -698,13 +698,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -717,7 +717,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -737,7 +737,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -756,7 +756,7 @@ type ParcoordsLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -773,7 +773,7 @@ type ParcoordsLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -798,13 +798,13 @@ type ParcoordsLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -817,7 +817,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -830,7 +830,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -844,7 +844,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -858,13 +858,13 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -875,7 +875,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -888,7 +888,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -901,7 +901,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -914,7 +914,7 @@ type ParcoordsLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -931,31 +931,31 @@ type ParcoordsLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -967,7 +967,7 @@ type ParcoordsLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -984,19 +984,19 @@ type ParcoordsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // ParcoordsRangefont Sets the font for the `dimension` range values. @@ -1012,7 +1012,7 @@ type ParcoordsRangefont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1025,13 +1025,13 @@ type ParcoordsRangefont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1058,7 +1058,7 @@ type ParcoordsRangefont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcoordsStream @@ -1068,13 +1068,13 @@ type ParcoordsStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ParcoordsTickfont Sets the font for the `dimension` tick values. @@ -1090,7 +1090,7 @@ type ParcoordsTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1103,13 +1103,13 @@ type ParcoordsTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1136,7 +1136,7 @@ type ParcoordsTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ParcoordsTransform 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. @@ -1156,7 +1156,7 @@ type ParcoordsUnselectedLine struct { // arrayOK: false // type: number // Sets the opacity of unselected lines. The default *auto* decreases the opacity smoothly as the number of lines increases. Use *1* to achieve exact `unselected.line.color`. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // ParcoordsUnselected diff --git a/generated/v2.34.0/graph_objects/pie_gen.go b/generated/v2.34.0/graph_objects/pie_gen.go index 8463cfe..758c0d2 100644 --- a/generated/v2.34.0/graph_objects/pie_gen.go +++ b/generated/v2.34.0/graph_objects/pie_gen.go @@ -32,7 +32,7 @@ type Pie struct { // arrayOK: false // type: boolean // Determines whether outside text labels can push the margins. - Automargin types.Bool `json:"automargin,omitempty"` + Automargin types.BoolType `json:"automargin,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Direction // arrayOK: false @@ -59,7 +59,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the label step. See `label0` for more info. - Dlabel float64 `json:"dlabel,omitempty"` + Dlabel types.NumberType `json:"dlabel,omitempty"` // Domain // arrayOK: false @@ -70,7 +70,7 @@ type Pie struct { // arrayOK: false // type: number // Sets the fraction of the radius to cut out of the pie. Use this to make a donut chart. - Hole float64 `json:"hole,omitempty"` + Hole types.NumberType `json:"hole,omitempty"` // Hoverinfo // arrayOK: true @@ -83,7 +83,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Pie struct { // 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. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -144,7 +144,7 @@ type Pie struct { // arrayOK: false // type: number // Alternate to `labels`. Builds a numeric set of labels. Use with `dlabel` where `label0` is the starting label and `dlabel` the step. - Label0 float64 `json:"label0,omitempty"` + Label0 types.NumberType `json:"label0,omitempty"` // Labels // arrayOK: false @@ -158,19 +158,19 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -181,13 +181,13 @@ type Pie struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -204,19 +204,19 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -227,37 +227,37 @@ type Pie struct { // arrayOK: true // type: number // Sets the fraction of larger radius to pull the sectors out from the center. This can be a constant to pull all slices apart from each other equally or an array to highlight one or more slices. - Pull *types.ArrayOK[*float64] `json:"pull,omitempty"` + Pull *types.ArrayOK[*types.NumberType] `json:"pull,omitempty"` // Pullsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `pull`. - Pullsrc types.String `json:"pullsrc,omitempty"` + Pullsrc types.StringType `json:"pullsrc,omitempty"` // Rotation // arrayOK: false // type: angle // Instead of the first slice starting at 12 o'clock, rotate to some other angle. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Scalegroup // arrayOK: false // type: string // If there are multiple pie charts that should be sized according to their totals, link them by providing a non-empty group id here shared by every trace in the same group. - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -295,25 +295,25 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `label`, `color`, `value`, `percent` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Title // arrayOK: false @@ -329,7 +329,7 @@ type Pie struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -349,7 +349,7 @@ type Pie struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -366,13 +366,13 @@ type PieDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this pie trace . - Column int64 `json:"column,omitempty"` + 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 pie trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -400,19 +400,19 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -425,31 +425,31 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -462,7 +462,7 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -475,7 +475,7 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -488,19 +488,19 @@ type PieHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // PieHoverlabel @@ -517,7 +517,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -529,7 +529,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -541,7 +541,7 @@ type PieHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -552,13 +552,13 @@ type PieHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PieInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -574,19 +574,19 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -599,31 +599,31 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -636,7 +636,7 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -649,7 +649,7 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -662,19 +662,19 @@ type PieInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // PieLegendgrouptitleFont Sets this legend group's title font. @@ -690,7 +690,7 @@ type PieLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -703,13 +703,13 @@ type PieLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -736,7 +736,7 @@ type PieLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // PieLegendgrouptitle @@ -751,7 +751,7 @@ type PieLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieMarkerLine @@ -767,19 +767,19 @@ type PieMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // PieMarkerPattern Sets the pattern within the marker. @@ -795,7 +795,7 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -807,13 +807,13 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -833,31 +833,31 @@ type PieMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // PieMarker @@ -875,7 +875,7 @@ type PieMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -901,19 +901,19 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -926,31 +926,31 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -963,7 +963,7 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -976,7 +976,7 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -989,19 +989,19 @@ type PieOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // PieStream @@ -1011,13 +1011,13 @@ type PieStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PieTextfont Sets the font used for `textinfo`. @@ -1033,19 +1033,19 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1058,31 +1058,31 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1095,7 +1095,7 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1108,7 +1108,7 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1121,19 +1121,19 @@ type PieTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // PieTitleFont Sets the font used for `title`. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1149,19 +1149,19 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1174,31 +1174,31 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1211,7 +1211,7 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1224,7 +1224,7 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1237,19 +1237,19 @@ type PieTitleFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // PieTitle @@ -1271,7 +1271,7 @@ type PieTitle struct { // arrayOK: false // type: string // Sets the title of the chart. If it is empty, no title is displayed. 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PieTransform 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. diff --git a/generated/v2.34.0/graph_objects/pointcloud_gen.go b/generated/v2.34.0/graph_objects/pointcloud_gen.go index f0b3f2e..ddafbd2 100644 --- a/generated/v2.34.0/graph_objects/pointcloud_gen.go +++ b/generated/v2.34.0/graph_objects/pointcloud_gen.go @@ -40,7 +40,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -53,7 +53,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -72,7 +72,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Indices // arrayOK: false @@ -86,19 +86,19 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `indices`. - Indicessrc types.String `json:"indicessrc,omitempty"` + Indicessrc types.StringType `json:"indicessrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -109,13 +109,13 @@ type Pointcloud struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -132,25 +132,25 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -161,19 +161,19 @@ type Pointcloud struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -200,7 +200,7 @@ type Pointcloud struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xbounds // arrayOK: false @@ -214,13 +214,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xbounds`. - Xboundssrc types.String `json:"xboundssrc,omitempty"` + Xboundssrc types.StringType `json:"xboundssrc,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Xy // arrayOK: false @@ -234,7 +234,7 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `xy`. - Xysrc types.String `json:"xysrc,omitempty"` + Xysrc types.StringType `json:"xysrc,omitempty"` // Y // arrayOK: false @@ -248,7 +248,7 @@ type Pointcloud struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ybounds // arrayOK: false @@ -262,13 +262,13 @@ type Pointcloud struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ybounds`. - Yboundssrc types.String `json:"yboundssrc,omitempty"` + Yboundssrc types.StringType `json:"yboundssrc,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // PointcloudHoverlabelFont Sets the font used in hover labels. @@ -284,19 +284,19 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -309,31 +309,31 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -346,7 +346,7 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -359,7 +359,7 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -372,19 +372,19 @@ type PointcloudHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // PointcloudHoverlabel @@ -401,7 +401,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -413,7 +413,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -425,7 +425,7 @@ type PointcloudHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -436,13 +436,13 @@ type PointcloudHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // PointcloudLegendgrouptitleFont Sets this legend group's title font. @@ -458,7 +458,7 @@ type PointcloudLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -471,13 +471,13 @@ type PointcloudLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -504,7 +504,7 @@ type PointcloudLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // PointcloudLegendgrouptitle @@ -519,7 +519,7 @@ type PointcloudLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // PointcloudMarkerBorder @@ -529,7 +529,7 @@ type PointcloudMarkerBorder struct { // arrayOK: false // type: number // Specifies what fraction of the marker area is covered with the border. - Arearatio float64 `json:"arearatio,omitempty"` + Arearatio types.NumberType `json:"arearatio,omitempty"` // Color // arrayOK: false @@ -545,7 +545,7 @@ type PointcloudMarker struct { // arrayOK: false // type: boolean // Determines if colors are blended together for a translucency effect in case `opacity` is specified as a value less then `1`. Setting `blend` to `true` reduces zoom/pan speed if used with large numbers of points. - Blend types.Bool `json:"blend,omitempty"` + Blend types.BoolType `json:"blend,omitempty"` // Border // arrayOK: false @@ -562,19 +562,19 @@ type PointcloudMarker struct { // arrayOK: false // type: number // Sets the marker opacity. The default value is `1` (fully opaque). If the markers are not fully opaque and there are hundreds of thousands of points, it may cause slower zooming and panning. Opacity fades the color even if `blend` is left on `false` even if there is no translucency effect in that case. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Sizemax // arrayOK: false // type: number // Sets the maximum size (in px) of the rendered marker points. Effective when the `pointcloud` shows only few points. - Sizemax float64 `json:"sizemax,omitempty"` + Sizemax types.NumberType `json:"sizemax,omitempty"` // Sizemin // arrayOK: false // type: number // Sets the minimum size (in px) of the rendered marker points, effective when the `pointcloud` shows a million or more points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` } // PointcloudStream @@ -584,13 +584,13 @@ type PointcloudStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // PointcloudHoverlabelAlign 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 diff --git a/generated/v2.34.0/graph_objects/sankey_gen.go b/generated/v2.34.0/graph_objects/sankey_gen.go index 64d54cc..a466c3c 100644 --- a/generated/v2.34.0/graph_objects/sankey_gen.go +++ b/generated/v2.34.0/graph_objects/sankey_gen.go @@ -47,7 +47,7 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -78,13 +78,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -95,13 +95,13 @@ type Sankey struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Link // arrayOK: false @@ -118,13 +118,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Node // arrayOK: false @@ -158,7 +158,7 @@ type Sankey struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -170,13 +170,13 @@ type Sankey struct { // arrayOK: false // type: string // Sets the value 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. - Valueformat types.String `json:"valueformat,omitempty"` + Valueformat types.StringType `json:"valueformat,omitempty"` // Valuesuffix // arrayOK: false // type: string // Adds a unit to follow the value in the hover tooltip. Add a space if a separation is necessary from the value. - Valuesuffix types.String `json:"valuesuffix,omitempty"` + Valuesuffix types.StringType `json:"valuesuffix,omitempty"` // Visible // arrayOK: false @@ -193,13 +193,13 @@ type SankeyDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sankey trace . - Column int64 `json:"column,omitempty"` + 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 sankey trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -227,19 +227,19 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -252,31 +252,31 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -289,7 +289,7 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -302,7 +302,7 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -315,19 +315,19 @@ type SankeyHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SankeyHoverlabel @@ -344,7 +344,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -356,7 +356,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -368,7 +368,7 @@ type SankeyHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -379,13 +379,13 @@ type SankeyHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLegendgrouptitleFont Sets this legend group's title font. @@ -401,7 +401,7 @@ type SankeyLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -414,13 +414,13 @@ type SankeyLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -447,7 +447,7 @@ type SankeyLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SankeyLegendgrouptitle @@ -462,7 +462,7 @@ type SankeyLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SankeyLinkConcentrationscales @@ -472,13 +472,13 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: number // Sets the upper bound of the color domain. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Colorscale // arrayOK: false @@ -490,19 +490,19 @@ type SankeyLinkConcentrationscales struct { // arrayOK: false // type: string // The label of the links to color based on their concentration within a flow. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` } // SankeyLinkHoverlabelFont Sets the font used in hover labels. @@ -518,19 +518,19 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -543,31 +543,31 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -580,7 +580,7 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -593,7 +593,7 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -606,19 +606,19 @@ type SankeyLinkHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SankeyLinkHoverlabel @@ -635,7 +635,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -647,7 +647,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -659,7 +659,7 @@ type SankeyLinkHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -670,13 +670,13 @@ type SankeyLinkHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyLinkLine @@ -692,19 +692,19 @@ type SankeyLinkLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `link`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyLink The links of the Sankey plot. @@ -714,7 +714,7 @@ type SankeyLink struct { // arrayOK: false // type: number // Sets the length (in px) of the links arrow, if 0 no arrow will be drawn. - Arrowlen float64 `json:"arrowlen,omitempty"` + Arrowlen types.NumberType `json:"arrowlen,omitempty"` // Color // arrayOK: true @@ -731,7 +731,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -745,7 +745,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hovercolor // arrayOK: true @@ -757,7 +757,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovercolor`. - Hovercolorsrc types.String `json:"hovercolorsrc,omitempty"` + Hovercolorsrc types.StringType `json:"hovercolorsrc,omitempty"` // Hoverinfo // arrayOK: false @@ -775,13 +775,13 @@ type SankeyLink struct { // 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. Variables `source` and `target` are node objects.Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -795,7 +795,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -814,7 +814,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `source`. - Sourcesrc types.String `json:"sourcesrc,omitempty"` + Sourcesrc types.StringType `json:"sourcesrc,omitempty"` // Target // arrayOK: false @@ -828,7 +828,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `target`. - Targetsrc types.String `json:"targetsrc,omitempty"` + Targetsrc types.StringType `json:"targetsrc,omitempty"` // Value // arrayOK: false @@ -842,7 +842,7 @@ type SankeyLink struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` } // SankeyNodeHoverlabelFont Sets the font used in hover labels. @@ -858,19 +858,19 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -883,31 +883,31 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -920,7 +920,7 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -933,7 +933,7 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -946,19 +946,19 @@ type SankeyNodeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SankeyNodeHoverlabel @@ -975,7 +975,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -987,7 +987,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -999,7 +999,7 @@ type SankeyNodeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1010,13 +1010,13 @@ type SankeyNodeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SankeyNodeLine @@ -1032,19 +1032,19 @@ type SankeyNodeLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the `line` around each `node`. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SankeyNode The nodes of the Sankey plot. @@ -1067,7 +1067,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Customdata // arrayOK: false @@ -1081,7 +1081,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Groups // arrayOK: false @@ -1105,13 +1105,13 @@ type SankeyNode struct { // 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. Variables `sourceLinks` and `targetLinks` are arrays of link objects.Finally, the template string has access to variables `value` and `label`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Label // arrayOK: false @@ -1125,7 +1125,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `label`. - Labelsrc types.String `json:"labelsrc,omitempty"` + Labelsrc types.StringType `json:"labelsrc,omitempty"` // Line // arrayOK: false @@ -1136,13 +1136,13 @@ type SankeyNode struct { // arrayOK: false // type: number // Sets the padding (in px) between the `nodes`. - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the `nodes`. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // X // arrayOK: false @@ -1156,7 +1156,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -1170,7 +1170,7 @@ type SankeyNode struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // SankeyStream @@ -1180,13 +1180,13 @@ type SankeyStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SankeyTextfont Sets the font for node labels @@ -1202,7 +1202,7 @@ type SankeyTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1215,13 +1215,13 @@ type SankeyTextfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1248,7 +1248,7 @@ type SankeyTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SankeyArrangement If value is `snap` (the default), the node arrangement is assisted by automatic snapping of elements to preserve space between nodes specified via `nodepad`. If value is `perpendicular`, the nodes can only move along a line perpendicular to the flow. If value is `freeform`, the nodes can freely move on the plane. If value is `fixed`, the nodes are stationary. diff --git a/generated/v2.34.0/graph_objects/scatter3d_gen.go b/generated/v2.34.0/graph_objects/scatter3d_gen.go index defd553..23297d0 100644 --- a/generated/v2.34.0/graph_objects/scatter3d_gen.go +++ b/generated/v2.34.0/graph_objects/scatter3d_gen.go @@ -32,7 +32,7 @@ type Scatter3d struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,7 +46,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // ErrorX // arrayOK: false @@ -74,7 +74,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -85,25 +85,25 @@ type Scatter3d struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -117,19 +117,19 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -140,13 +140,13 @@ type Scatter3d struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -168,7 +168,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -181,13 +181,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Projection // arrayOK: false @@ -198,13 +198,13 @@ type Scatter3d struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -228,7 +228,7 @@ type Scatter3d struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y,z) triplet. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y,z) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -246,25 +246,25 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -275,7 +275,7 @@ type Scatter3d struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -309,13 +309,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -336,13 +336,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -363,13 +363,13 @@ type Scatter3d struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // Scatter3dErrorX @@ -395,13 +395,13 @@ type Scatter3dErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -413,31 +413,31 @@ type Scatter3dErrorX struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -450,25 +450,25 @@ type Scatter3dErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorY @@ -494,13 +494,13 @@ type Scatter3dErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -512,31 +512,31 @@ type Scatter3dErrorY struct { // arrayOK: false // type: boolean // - CopyZstyle types.Bool `json:"copy_zstyle,omitempty"` + CopyZstyle types.BoolType `json:"copy_zstyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -549,25 +549,25 @@ type Scatter3dErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dErrorZ @@ -593,13 +593,13 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -611,25 +611,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -642,25 +642,25 @@ type Scatter3dErrorZ struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dHoverlabelFont Sets the font used in hover labels. @@ -676,19 +676,19 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -701,31 +701,31 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -738,7 +738,7 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -751,7 +751,7 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -764,19 +764,19 @@ type Scatter3dHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // Scatter3dHoverlabel @@ -793,7 +793,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -805,7 +805,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -817,7 +817,7 @@ type Scatter3dHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -828,13 +828,13 @@ type Scatter3dHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // Scatter3dLegendgrouptitleFont Sets this legend group's title font. @@ -850,7 +850,7 @@ type Scatter3dLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -863,13 +863,13 @@ type Scatter3dLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -896,7 +896,7 @@ type Scatter3dLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Scatter3dLegendgrouptitle @@ -911,7 +911,7 @@ type Scatter3dLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbarTickfont Sets the color bar's tick label font @@ -927,7 +927,7 @@ type Scatter3dLineColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -940,13 +940,13 @@ type Scatter3dLineColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -973,7 +973,7 @@ type Scatter3dLineColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Scatter3dLineColorbarTickformatstop @@ -989,25 +989,25 @@ type Scatter3dLineColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dLineColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1023,7 +1023,7 @@ type Scatter3dLineColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1036,13 +1036,13 @@ type Scatter3dLineColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1069,7 +1069,7 @@ type Scatter3dLineColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Scatter3dLineColorbarTitle @@ -1091,7 +1091,7 @@ type Scatter3dLineColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dLineColorbar @@ -1113,7 +1113,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1138,7 +1138,7 @@ type Scatter3dLineColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1151,13 +1151,13 @@ type Scatter3dLineColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1176,13 +1176,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1195,7 +1195,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1215,7 +1215,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1234,7 +1234,7 @@ type Scatter3dLineColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1251,7 +1251,7 @@ type Scatter3dLineColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1276,13 +1276,13 @@ type Scatter3dLineColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1295,7 +1295,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1308,7 +1308,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1322,7 +1322,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1336,13 +1336,13 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1353,7 +1353,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1366,7 +1366,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1379,7 +1379,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1392,7 +1392,7 @@ type Scatter3dLineColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1409,31 +1409,31 @@ type Scatter3dLine struct { // 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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. - Cauto types.Bool `json:"cauto,omitempty"` + 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. - Cmax float64 `json:"cmax,omitempty"` + 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`. - Cmid float64 `json:"cmid,omitempty"` + 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. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1445,7 +1445,7 @@ type Scatter3dLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1462,7 +1462,7 @@ type Scatter3dLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Dash // arrayOK: false @@ -1475,19 +1475,19 @@ type Scatter3dLine struct { // 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. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,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. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarkerColorbarTickfont Sets the color bar's tick label font @@ -1503,7 +1503,7 @@ type Scatter3dMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1516,13 +1516,13 @@ type Scatter3dMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1549,7 +1549,7 @@ type Scatter3dMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Scatter3dMarkerColorbarTickformatstop @@ -1565,25 +1565,25 @@ type Scatter3dMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // Scatter3dMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1599,7 +1599,7 @@ type Scatter3dMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1612,13 +1612,13 @@ type Scatter3dMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1645,7 +1645,7 @@ type Scatter3dMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // Scatter3dMarkerColorbarTitle @@ -1667,7 +1667,7 @@ type Scatter3dMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // Scatter3dMarkerColorbar @@ -1689,7 +1689,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1714,7 +1714,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1727,13 +1727,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1752,13 +1752,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1771,7 +1771,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1791,7 +1791,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1810,7 +1810,7 @@ type Scatter3dMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1827,7 +1827,7 @@ type Scatter3dMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1852,13 +1852,13 @@ type Scatter3dMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1871,7 +1871,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1884,7 +1884,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1898,7 +1898,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1912,13 +1912,13 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1929,7 +1929,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1942,7 +1942,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1955,7 +1955,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1968,7 +1968,7 @@ type Scatter3dMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1985,31 +1985,31 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -2021,7 +2021,7 @@ type Scatter3dMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -2033,19 +2033,19 @@ type Scatter3dMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // Scatter3dMarker @@ -2055,31 +2055,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -2091,7 +2091,7 @@ type Scatter3dMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -2108,7 +2108,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -2119,31 +2119,31 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Sets the marker opacity. Note that the marker opacity for scatter3d traces must be a scalar value for performance reasons. To set a blending opacity value (i.e. which is not transparent), set *marker.color* to an rgba color and use its alpha channel. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -2156,13 +2156,13 @@ type Scatter3dMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -2175,7 +2175,7 @@ type Scatter3dMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // Scatter3dProjectionX @@ -2185,19 +2185,19 @@ type Scatter3dProjectionX struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the x axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionY @@ -2207,19 +2207,19 @@ type Scatter3dProjectionY struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the y axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjectionZ @@ -2229,19 +2229,19 @@ type Scatter3dProjectionZ struct { // arrayOK: false // type: number // Sets the projection color. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Scale // arrayOK: false // type: number // Sets the scale factor determining the size of the projection marker points. - Scale float64 `json:"scale,omitempty"` + Scale types.NumberType `json:"scale,omitempty"` // Show // arrayOK: false // type: boolean // Sets whether or not projections are shown along the z axis. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // Scatter3dProjection @@ -2270,13 +2270,13 @@ type Scatter3dStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // Scatter3dTextfont Sets the text font. @@ -2292,31 +2292,31 @@ type Scatter3dTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -2329,7 +2329,7 @@ type Scatter3dTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Variant // arrayOK: true @@ -2342,19 +2342,19 @@ type Scatter3dTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // Scatter3dTransform 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. diff --git a/generated/v2.34.0/graph_objects/scatter_gen.go b/generated/v2.34.0/graph_objects/scatter_gen.go index 0ce1d82..e5e5485 100644 --- a/generated/v2.34.0/graph_objects/scatter_gen.go +++ b/generated/v2.34.0/graph_objects/scatter_gen.go @@ -32,19 +32,19 @@ type Scatter struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -58,19 +58,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -123,7 +123,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -141,25 +141,25 @@ type Scatter struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -173,19 +173,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -196,13 +196,13 @@ type Scatter struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -224,7 +224,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -237,19 +237,19 @@ type Scatter struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -273,7 +273,7 @@ type Scatter struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stackgaps // arrayOK: false @@ -286,7 +286,7 @@ type Scatter struct { // arrayOK: false // type: string // Set several scatter traces (on the same subplot) to the same stackgroup in order to add their y values (or their x values if `orientation` is *h*). If blank or omitted this trace will not be stacked. Stacking also turns `fill` on by default, using *tonexty* (*tonextx*) if `orientation` is *h* (*v*) and sets the default `mode` to *lines* irrespective of point count. You can only stack on a numeric (linear or log) axis. Traces in a `stackgroup` will only fill to (or be filled to) other traces in the same group. With multiple `stackgroup`s or some traces stacked and some not, if fill-linked traces are not already consecutive, the later ones will be pushed down in the drawing order. - Stackgroup types.String `json:"stackgroup,omitempty"` + Stackgroup types.StringType `json:"stackgroup,omitempty"` // Stream // arrayOK: false @@ -297,7 +297,7 @@ type Scatter struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -315,25 +315,25 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -344,7 +344,7 @@ type Scatter struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -382,7 +382,7 @@ type Scatter struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -395,7 +395,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -420,7 +420,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -440,7 +440,7 @@ type Scatter struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -453,7 +453,7 @@ type Scatter struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -478,13 +478,13 @@ type Scatter struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // ScatterErrorX @@ -510,13 +510,13 @@ type ScatterErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -528,31 +528,31 @@ type ScatterErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -565,25 +565,25 @@ type ScatterErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterErrorY @@ -609,13 +609,13 @@ type ScatterErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -627,25 +627,25 @@ type ScatterErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -658,25 +658,25 @@ type ScatterErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterFillgradient Sets a fill gradient. If not specified, the fillcolor is used instead. @@ -692,13 +692,13 @@ type ScatterFillgradient struct { // arrayOK: false // type: number // Sets the gradient start value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and start from the x-position given by start. If omitted, the gradient starts at the lowest value of the trace along the respective axis. Ignored if orientation is *radial*. - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Stop // arrayOK: false // type: number // Sets the gradient end value. It is given as the absolute position on the axis determined by the orientiation. E.g., if orientation is *horizontal*, the gradient will be horizontal and end at the x-position given by end. If omitted, the gradient ends at the highest value of the trace along the respective axis. Ignored if orientation is *radial*. - Stop float64 `json:"stop,omitempty"` + Stop types.NumberType `json:"stop,omitempty"` // Type // arrayOK: false @@ -721,7 +721,7 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -733,13 +733,13 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -759,31 +759,31 @@ type ScatterFillpattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // ScatterHoverlabelFont Sets the font used in hover labels. @@ -799,19 +799,19 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -824,31 +824,31 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -861,7 +861,7 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -874,7 +874,7 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -887,19 +887,19 @@ type ScatterHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterHoverlabel @@ -916,7 +916,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -928,7 +928,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -940,7 +940,7 @@ type ScatterHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -951,13 +951,13 @@ type ScatterHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterLegendgrouptitleFont Sets this legend group's title font. @@ -973,7 +973,7 @@ type ScatterLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -986,13 +986,13 @@ type ScatterLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1019,7 +1019,7 @@ type ScatterLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterLegendgrouptitle @@ -1034,7 +1034,7 @@ type ScatterLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterLine @@ -1044,13 +1044,13 @@ type ScatterLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -1062,7 +1062,7 @@ type ScatterLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -1075,19 +1075,19 @@ type ScatterLine struct { // arrayOK: false // type: boolean // Simplifies lines by removing nearly-collinear points. When transitioning lines, it may be desirable to disable this so that the number of points along the resulting SVG path is unaffected. - Simplify types.Bool `json:"simplify,omitempty"` + Simplify types.BoolType `json:"simplify,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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterMarkerColorbarTickfont Sets the color bar's tick label font @@ -1103,7 +1103,7 @@ type ScatterMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1116,13 +1116,13 @@ type ScatterMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1149,7 +1149,7 @@ type ScatterMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterMarkerColorbarTickformatstop @@ -1165,25 +1165,25 @@ type ScatterMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1199,7 +1199,7 @@ type ScatterMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1212,13 +1212,13 @@ type ScatterMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1245,7 +1245,7 @@ type ScatterMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterMarkerColorbarTitle @@ -1267,7 +1267,7 @@ type ScatterMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterMarkerColorbar @@ -1289,7 +1289,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1314,7 +1314,7 @@ type ScatterMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1327,13 +1327,13 @@ type ScatterMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1352,13 +1352,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1371,7 +1371,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1391,7 +1391,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1410,7 +1410,7 @@ type ScatterMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1427,7 +1427,7 @@ type ScatterMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1452,13 +1452,13 @@ type ScatterMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1471,7 +1471,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1484,7 +1484,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1498,7 +1498,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1512,13 +1512,13 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1529,7 +1529,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1542,7 +1542,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1555,7 +1555,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1568,7 +1568,7 @@ type ScatterMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1591,7 +1591,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1604,7 +1604,7 @@ type ScatterMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterMarkerLine @@ -1614,31 +1614,31 @@ type ScatterMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1650,7 +1650,7 @@ type ScatterMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1662,25 +1662,25 @@ type ScatterMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterMarker @@ -1690,7 +1690,7 @@ type ScatterMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1703,37 +1703,37 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1745,7 +1745,7 @@ type ScatterMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1762,7 +1762,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1778,43 +1778,43 @@ type ScatterMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1827,25 +1827,25 @@ type ScatterMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1858,7 +1858,7 @@ type ScatterMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterSelectedMarker @@ -1874,13 +1874,13 @@ type ScatterSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterSelectedTextfont @@ -1914,13 +1914,13 @@ type ScatterStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterTextfont Sets the text font. @@ -1936,19 +1936,19 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1961,31 +1961,31 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1998,7 +1998,7 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -2011,7 +2011,7 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -2024,19 +2024,19 @@ type ScatterTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterTransform 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. @@ -2056,13 +2056,13 @@ type ScatterUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/scattercarpet_gen.go b/generated/v2.34.0/graph_objects/scattercarpet_gen.go index f64b028..662e4cf 100644 --- a/generated/v2.34.0/graph_objects/scattercarpet_gen.go +++ b/generated/v2.34.0/graph_objects/scattercarpet_gen.go @@ -40,7 +40,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,19 +54,19 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + 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 - Carpet types.String `json:"carpet,omitempty"` + 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. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -80,7 +80,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -106,7 +106,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -124,25 +124,25 @@ type Scattercarpet struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + 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. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -156,19 +156,19 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -179,13 +179,13 @@ type Scattercarpet struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -207,7 +207,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -220,13 +220,13 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -243,7 +243,7 @@ type Scattercarpet struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -254,7 +254,7 @@ type Scattercarpet struct { // 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. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -272,25 +272,25 @@ type Scattercarpet struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `a`, `b` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -301,7 +301,7 @@ type Scattercarpet struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -325,19 +325,19 @@ type Scattercarpet struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // ScattercarpetHoverlabelFont Sets the font used in hover labels. @@ -353,19 +353,19 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -378,31 +378,31 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -415,7 +415,7 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -428,7 +428,7 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -441,19 +441,19 @@ type ScattercarpetHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScattercarpetHoverlabel @@ -470,7 +470,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -482,7 +482,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -494,7 +494,7 @@ type ScattercarpetHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -505,13 +505,13 @@ type ScattercarpetHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattercarpetLegendgrouptitleFont Sets this legend group's title font. @@ -527,7 +527,7 @@ type ScattercarpetLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -540,13 +540,13 @@ type ScattercarpetLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -573,7 +573,7 @@ type ScattercarpetLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattercarpetLegendgrouptitle @@ -588,7 +588,7 @@ type ScattercarpetLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetLine @@ -598,13 +598,13 @@ type ScattercarpetLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -616,7 +616,7 @@ type ScattercarpetLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -629,13 +629,13 @@ type ScattercarpetLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattercarpetMarkerColorbarTickfont Sets the color bar's tick label font @@ -651,7 +651,7 @@ type ScattercarpetMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -664,13 +664,13 @@ type ScattercarpetMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -697,7 +697,7 @@ type ScattercarpetMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattercarpetMarkerColorbarTickformatstop @@ -713,25 +713,25 @@ type ScattercarpetMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + 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. @@ -747,7 +747,7 @@ type ScattercarpetMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -760,13 +760,13 @@ type ScattercarpetMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -793,7 +793,7 @@ type ScattercarpetMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattercarpetMarkerColorbarTitle @@ -815,7 +815,7 @@ type ScattercarpetMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattercarpetMarkerColorbar @@ -837,7 +837,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -862,7 +862,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -875,13 +875,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -900,13 +900,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -919,7 +919,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -939,7 +939,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -958,7 +958,7 @@ type ScattercarpetMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -975,7 +975,7 @@ type ScattercarpetMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1000,13 +1000,13 @@ type ScattercarpetMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1019,7 +1019,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1032,7 +1032,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1046,7 +1046,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1060,13 +1060,13 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1077,7 +1077,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1090,7 +1090,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1103,7 +1103,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1116,7 +1116,7 @@ type ScattercarpetMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1139,7 +1139,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1152,7 +1152,7 @@ type ScattercarpetMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattercarpetMarkerLine @@ -1162,31 +1162,31 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1198,7 +1198,7 @@ type ScattercarpetMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1210,25 +1210,25 @@ type ScattercarpetMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattercarpetMarker @@ -1238,7 +1238,7 @@ type ScattercarpetMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1251,37 +1251,37 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1293,7 +1293,7 @@ type ScattercarpetMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1310,7 +1310,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1326,43 +1326,43 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1375,25 +1375,25 @@ type ScattercarpetMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1406,7 +1406,7 @@ type ScattercarpetMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattercarpetSelectedMarker @@ -1422,13 +1422,13 @@ type ScattercarpetSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetSelectedTextfont @@ -1462,13 +1462,13 @@ type ScattercarpetStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattercarpetTextfont Sets the text font. @@ -1484,19 +1484,19 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1509,31 +1509,31 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1546,7 +1546,7 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1559,7 +1559,7 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1572,19 +1572,19 @@ type ScattercarpetTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScattercarpetTransform 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. @@ -1604,13 +1604,13 @@ type ScattercarpetUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattercarpetUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/scattergeo_gen.go b/generated/v2.34.0/graph_objects/scattergeo_gen.go index ff1be37..05a1a61 100644 --- a/generated/v2.34.0/graph_objects/scattergeo_gen.go +++ b/generated/v2.34.0/graph_objects/scattergeo_gen.go @@ -32,7 +32,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,13 +46,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Featureidkey // arrayOK: false // type: string // Sets the key in GeoJSON features which is used as id to match the items included in the `locations` array. Only has an effect when `geojson` is set. Support nested property, for example *properties.name*. - Featureidkey types.String `json:"featureidkey,omitempty"` + Featureidkey types.StringType `json:"featureidkey,omitempty"` // Fill // arrayOK: false @@ -71,7 +71,7 @@ type Scattergeo struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's geospatial coordinates and a geographic map. If *geo* (the default value), the geospatial coordinates refer to `layout.geo`. If *geo2*, the geospatial coordinates refer to `layout.geo2`, and so on. - Geo types.String `json:"geo,omitempty"` + Geo types.StringType `json:"geo,omitempty"` // Geojson // arrayOK: false @@ -90,7 +90,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -101,25 +101,25 @@ type Scattergeo struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -133,7 +133,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -147,19 +147,19 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -170,13 +170,13 @@ type Scattergeo struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -202,7 +202,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Lon // arrayOK: false @@ -216,7 +216,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -233,7 +233,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -246,13 +246,13 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -269,7 +269,7 @@ type Scattergeo struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -280,7 +280,7 @@ type Scattergeo struct { // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair or item in `locations`. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) or `locations` coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -298,25 +298,25 @@ type Scattergeo struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `lat`, `lon`, `location` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -327,7 +327,7 @@ type Scattergeo struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -361,19 +361,19 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -386,31 +386,31 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -423,7 +423,7 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -436,7 +436,7 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -449,19 +449,19 @@ type ScattergeoHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScattergeoHoverlabel @@ -478,7 +478,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -490,7 +490,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -502,7 +502,7 @@ type ScattergeoHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -513,13 +513,13 @@ type ScattergeoHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattergeoLegendgrouptitleFont Sets this legend group's title font. @@ -535,7 +535,7 @@ type ScattergeoLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -548,13 +548,13 @@ type ScattergeoLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -581,7 +581,7 @@ type ScattergeoLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattergeoLegendgrouptitle @@ -596,7 +596,7 @@ type ScattergeoLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoLine @@ -612,13 +612,13 @@ type ScattergeoLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattergeoMarkerColorbarTickfont Sets the color bar's tick label font @@ -634,7 +634,7 @@ type ScattergeoMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -647,13 +647,13 @@ type ScattergeoMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -680,7 +680,7 @@ type ScattergeoMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattergeoMarkerColorbarTickformatstop @@ -696,25 +696,25 @@ type ScattergeoMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattergeoMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -730,7 +730,7 @@ type ScattergeoMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -743,13 +743,13 @@ type ScattergeoMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -776,7 +776,7 @@ type ScattergeoMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattergeoMarkerColorbarTitle @@ -798,7 +798,7 @@ type ScattergeoMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattergeoMarkerColorbar @@ -820,7 +820,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -845,7 +845,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -858,13 +858,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -883,13 +883,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -902,7 +902,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -922,7 +922,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -941,7 +941,7 @@ type ScattergeoMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -958,7 +958,7 @@ type ScattergeoMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -983,13 +983,13 @@ type ScattergeoMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1002,7 +1002,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1015,7 +1015,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1029,7 +1029,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1043,13 +1043,13 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1060,7 +1060,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1073,7 +1073,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1086,7 +1086,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1099,7 +1099,7 @@ type ScattergeoMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1122,7 +1122,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1135,7 +1135,7 @@ type ScattergeoMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattergeoMarkerLine @@ -1145,31 +1145,31 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1181,7 +1181,7 @@ type ScattergeoMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1193,25 +1193,25 @@ type ScattergeoMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattergeoMarker @@ -1221,7 +1221,7 @@ type ScattergeoMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1234,37 +1234,37 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1276,7 +1276,7 @@ type ScattergeoMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1293,7 +1293,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1309,37 +1309,37 @@ type ScattergeoMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1352,25 +1352,25 @@ type ScattergeoMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1383,7 +1383,7 @@ type ScattergeoMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattergeoSelectedMarker @@ -1399,13 +1399,13 @@ type ScattergeoSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoSelectedTextfont @@ -1439,13 +1439,13 @@ type ScattergeoStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattergeoTextfont Sets the text font. @@ -1461,19 +1461,19 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1486,31 +1486,31 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1523,7 +1523,7 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1536,7 +1536,7 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1549,19 +1549,19 @@ type ScattergeoTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScattergeoTransform 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. @@ -1581,13 +1581,13 @@ type ScattergeoUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattergeoUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/scattergl_gen.go b/generated/v2.34.0/graph_objects/scattergl_gen.go index b2345de..be0852b 100644 --- a/generated/v2.34.0/graph_objects/scattergl_gen.go +++ b/generated/v2.34.0/graph_objects/scattergl_gen.go @@ -32,7 +32,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dx // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // ErrorX // arrayOK: false @@ -94,7 +94,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -105,25 +105,25 @@ type Scattergl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Scattergl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,7 +188,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -201,13 +201,13 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -224,7 +224,7 @@ type Scattergl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -235,7 +235,7 @@ type Scattergl struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -253,25 +253,25 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -282,7 +282,7 @@ type Scattergl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -320,7 +320,7 @@ type Scattergl struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xcalendar // arrayOK: false @@ -333,7 +333,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -358,7 +358,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -378,7 +378,7 @@ type Scattergl struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Ycalendar // arrayOK: false @@ -391,7 +391,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -416,7 +416,7 @@ type Scattergl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` } // ScatterglErrorX @@ -442,13 +442,13 @@ type ScatterglErrorX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -460,31 +460,31 @@ type ScatterglErrorX struct { // arrayOK: false // type: boolean // - CopyYstyle types.Bool `json:"copy_ystyle,omitempty"` + CopyYstyle types.BoolType `json:"copy_ystyle,omitempty"` // Symmetric // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -497,25 +497,25 @@ type ScatterglErrorX struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglErrorY @@ -541,13 +541,13 @@ type ScatterglErrorY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `arrayminus`. - Arrayminussrc types.String `json:"arrayminussrc,omitempty"` + Arrayminussrc types.StringType `json:"arrayminussrc,omitempty"` // Arraysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `array`. - Arraysrc types.String `json:"arraysrc,omitempty"` + Arraysrc types.StringType `json:"arraysrc,omitempty"` // Color // arrayOK: false @@ -559,25 +559,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: boolean // Determines whether or not the error bars have the same length in both direction (top/bottom for vertical bars, left/right for horizontal bars. - Symmetric types.Bool `json:"symmetric,omitempty"` + Symmetric types.BoolType `json:"symmetric,omitempty"` // Thickness // arrayOK: false // type: number // Sets the thickness (in px) of the error bars. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Traceref // arrayOK: false // type: integer // - Traceref int64 `json:"traceref,omitempty"` + Traceref types.IntegerType `json:"traceref,omitempty"` // Tracerefminus // arrayOK: false // type: integer // - Tracerefminus int64 `json:"tracerefminus,omitempty"` + Tracerefminus types.IntegerType `json:"tracerefminus,omitempty"` // Type // arrayOK: false @@ -590,25 +590,25 @@ type ScatterglErrorY struct { // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars. - Value float64 `json:"value,omitempty"` + Value types.NumberType `json:"value,omitempty"` // Valueminus // arrayOK: false // type: number // Sets the value of either the percentage (if `type` is set to *percent*) or the constant (if `type` is set to *constant*) corresponding to the lengths of the error bars in the bottom (left) direction for vertical (horizontal) bars - Valueminus float64 `json:"valueminus,omitempty"` + Valueminus types.NumberType `json:"valueminus,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this set of error bars is visible. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the cross-bar at both ends of the error bars. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglHoverlabelFont Sets the font used in hover labels. @@ -624,19 +624,19 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -649,31 +649,31 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -686,7 +686,7 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -699,7 +699,7 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -712,19 +712,19 @@ type ScatterglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterglHoverlabel @@ -741,7 +741,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -753,7 +753,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -765,7 +765,7 @@ type ScatterglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -776,13 +776,13 @@ type ScatterglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterglLegendgrouptitleFont Sets this legend group's title font. @@ -798,7 +798,7 @@ type ScatterglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -811,13 +811,13 @@ type ScatterglLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -844,7 +844,7 @@ type ScatterglLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterglLegendgrouptitle @@ -859,7 +859,7 @@ type ScatterglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglLine @@ -889,7 +889,7 @@ type ScatterglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterglMarkerColorbarTickfont Sets the color bar's tick label font @@ -905,7 +905,7 @@ type ScatterglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -918,13 +918,13 @@ type ScatterglMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -951,7 +951,7 @@ type ScatterglMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterglMarkerColorbarTickformatstop @@ -967,25 +967,25 @@ type ScatterglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -1001,7 +1001,7 @@ type ScatterglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1014,13 +1014,13 @@ type ScatterglMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1047,7 +1047,7 @@ type ScatterglMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterglMarkerColorbarTitle @@ -1069,7 +1069,7 @@ type ScatterglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterglMarkerColorbar @@ -1091,7 +1091,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -1116,7 +1116,7 @@ type ScatterglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -1129,13 +1129,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -1154,13 +1154,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1173,7 +1173,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1193,7 +1193,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1212,7 +1212,7 @@ type ScatterglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1229,7 +1229,7 @@ type ScatterglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1254,13 +1254,13 @@ type ScatterglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1273,7 +1273,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1286,7 +1286,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1300,7 +1300,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1314,13 +1314,13 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1331,7 +1331,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1344,7 +1344,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1357,7 +1357,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1370,7 +1370,7 @@ type ScatterglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1387,31 +1387,31 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1423,7 +1423,7 @@ type ScatterglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1435,25 +1435,25 @@ type ScatterglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterglMarker @@ -1463,43 +1463,43 @@ type ScatterglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1511,7 +1511,7 @@ type ScatterglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1528,7 +1528,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1539,37 +1539,37 @@ type ScatterglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1582,13 +1582,13 @@ type ScatterglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1601,7 +1601,7 @@ type ScatterglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterglSelectedMarker @@ -1617,13 +1617,13 @@ type ScatterglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglSelectedTextfont @@ -1657,13 +1657,13 @@ type ScatterglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterglTextfont Sets the text font. @@ -1679,31 +1679,31 @@ type ScatterglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1716,7 +1716,7 @@ type ScatterglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Variant // arrayOK: true @@ -1729,7 +1729,7 @@ type ScatterglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true @@ -1742,7 +1742,7 @@ type ScatterglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterglTransform 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. @@ -1762,13 +1762,13 @@ type ScatterglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterglUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/scattermapbox_gen.go b/generated/v2.34.0/graph_objects/scattermapbox_gen.go index fe6a4ed..6e57104 100644 --- a/generated/v2.34.0/graph_objects/scattermapbox_gen.go +++ b/generated/v2.34.0/graph_objects/scattermapbox_gen.go @@ -32,7 +32,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Determines if this scattermapbox trace's layers are to be inserted before the layer with the specified ID. By default, scattermapbox layers are inserted above all the base layers. To place the scattermapbox layers above every other layer, set `below` to *''*. - Below types.String `json:"below,omitempty"` + Below types.StringType `json:"below,omitempty"` // Cluster // arrayOK: false @@ -43,7 +43,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -57,7 +57,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -83,7 +83,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Scattermapbox struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,7 +126,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Lat // arrayOK: false @@ -140,19 +140,19 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lat`. - Latsrc types.String `json:"latsrc,omitempty"` + Latsrc types.StringType `json:"latsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Scattermapbox struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,7 +188,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lon`. - Lonsrc types.String `json:"lonsrc,omitempty"` + Lonsrc types.StringType `json:"lonsrc,omitempty"` // Marker // arrayOK: false @@ -205,7 +205,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -218,13 +218,13 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -241,7 +241,7 @@ type Scattermapbox struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -252,13 +252,13 @@ type Scattermapbox struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a mapbox subplot. If *mapbox* (the default value), the data refer to `layout.mapbox`. If *mapbox2*, the data refer to `layout.mapbox2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (lon,lat) pair If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (lon,lat) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -276,19 +276,19 @@ type Scattermapbox struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `lat`, `lon` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -299,7 +299,7 @@ type Scattermapbox struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -333,55 +333,55 @@ type ScattermapboxCluster struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Enabled // arrayOK: false // type: boolean // Determines whether clustering is enabled or disabled. - Enabled types.Bool `json:"enabled,omitempty"` + Enabled types.BoolType `json:"enabled,omitempty"` // Maxzoom // arrayOK: false // type: number // Sets the maximum zoom level. At zoom levels equal to or greater than this, points will never be clustered. - Maxzoom float64 `json:"maxzoom,omitempty"` + Maxzoom types.NumberType `json:"maxzoom,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size for each cluster step. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Step // arrayOK: true // type: number // Sets how many points it takes to create a cluster or advance to the next cluster step. Use this in conjunction with arrays for `size` and / or `color`. If an integer, steps start at multiples of this number. If an array, each step extends from the given value until one less than the next value. - Step *types.ArrayOK[*float64] `json:"step,omitempty"` + Step *types.ArrayOK[*types.NumberType] `json:"step,omitempty"` // Stepsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `step`. - Stepsrc types.String `json:"stepsrc,omitempty"` + Stepsrc types.StringType `json:"stepsrc,omitempty"` } // ScattermapboxHoverlabelFont Sets the font used in hover labels. @@ -397,19 +397,19 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -422,31 +422,31 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -459,7 +459,7 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -472,7 +472,7 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -485,19 +485,19 @@ type ScattermapboxHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScattermapboxHoverlabel @@ -514,7 +514,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -526,7 +526,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -538,7 +538,7 @@ type ScattermapboxHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -549,13 +549,13 @@ type ScattermapboxHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattermapboxLegendgrouptitleFont Sets this legend group's title font. @@ -571,7 +571,7 @@ type ScattermapboxLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -584,13 +584,13 @@ type ScattermapboxLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -617,7 +617,7 @@ type ScattermapboxLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattermapboxLegendgrouptitle @@ -632,7 +632,7 @@ type ScattermapboxLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxLine @@ -648,7 +648,7 @@ type ScattermapboxLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattermapboxMarkerColorbarTickfont Sets the color bar's tick label font @@ -664,7 +664,7 @@ type ScattermapboxMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -677,13 +677,13 @@ type ScattermapboxMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -710,7 +710,7 @@ type ScattermapboxMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattermapboxMarkerColorbarTickformatstop @@ -726,25 +726,25 @@ type ScattermapboxMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattermapboxMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -760,7 +760,7 @@ type ScattermapboxMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -773,13 +773,13 @@ type ScattermapboxMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -806,7 +806,7 @@ type ScattermapboxMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattermapboxMarkerColorbarTitle @@ -828,7 +828,7 @@ type ScattermapboxMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattermapboxMarkerColorbar @@ -850,7 +850,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -875,7 +875,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -888,13 +888,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -913,13 +913,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -932,7 +932,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -952,7 +952,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -971,7 +971,7 @@ type ScattermapboxMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -988,7 +988,7 @@ type ScattermapboxMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1013,13 +1013,13 @@ type ScattermapboxMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1032,7 +1032,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1045,7 +1045,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1059,7 +1059,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1073,13 +1073,13 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1090,7 +1090,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1103,7 +1103,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1116,7 +1116,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1129,7 +1129,7 @@ type ScattermapboxMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1146,49 +1146,49 @@ type ScattermapboxMarker struct { // arrayOK: false // type: boolean // Flag to draw all symbols, even if they overlap. - Allowoverlap types.Bool `json:"allowoverlap,omitempty"` + Allowoverlap types.BoolType `json:"allowoverlap,omitempty"` // Angle // arrayOK: true // type: number // Sets the marker orientation from true North, in degrees clockwise. When using the *auto* default, no rotation would be applied in perspective views which is different from using a zero angle. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1200,7 +1200,7 @@ type ScattermapboxMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1217,43 +1217,43 @@ type ScattermapboxMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1266,25 +1266,25 @@ type ScattermapboxMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true // type: string // Sets the marker symbol. Full list: https://www.mapbox.com/maki-icons/ Note that the array `marker.color` and `marker.size` are only available for *circle* symbols. - Symbol *types.ArrayOK[*types.String] `json:"symbol,omitempty"` + Symbol *types.ArrayOK[*types.StringType] `json:"symbol,omitempty"` // Symbolsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattermapboxSelectedMarker @@ -1300,13 +1300,13 @@ type ScattermapboxSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxSelected @@ -1325,13 +1325,13 @@ type ScattermapboxStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattermapboxTextfont Sets the icon text font (color=mapbox.layer.paint.text-color, size=mapbox.layer.layout.text-size). Has an effect only when `type` is set to *symbol*. @@ -1347,13 +1347,13 @@ type ScattermapboxTextfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1366,7 +1366,7 @@ type ScattermapboxTextfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattermapboxTransform 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. @@ -1386,13 +1386,13 @@ type ScattermapboxUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattermapboxUnselected diff --git a/generated/v2.34.0/graph_objects/scatterpolar_gen.go b/generated/v2.34.0/graph_objects/scatterpolar_gen.go index 3f57eca..2e25cec 100644 --- a/generated/v2.34.0/graph_objects/scatterpolar_gen.go +++ b/generated/v2.34.0/graph_objects/scatterpolar_gen.go @@ -32,13 +32,13 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,19 +52,19 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -90,7 +90,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -108,25 +108,25 @@ type Scatterpolar struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -140,19 +140,19 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Scatterpolar struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -191,7 +191,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -204,13 +204,13 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -230,7 +230,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -247,7 +247,7 @@ type Scatterpolar struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -258,13 +258,13 @@ type Scatterpolar struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -282,25 +282,25 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -320,7 +320,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -338,7 +338,7 @@ type Scatterpolar struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -372,19 +372,19 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -397,31 +397,31 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -434,7 +434,7 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -447,7 +447,7 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -460,19 +460,19 @@ type ScatterpolarHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterpolarHoverlabel @@ -489,7 +489,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -501,7 +501,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -513,7 +513,7 @@ type ScatterpolarHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -524,13 +524,13 @@ type ScatterpolarHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarLegendgrouptitleFont Sets this legend group's title font. @@ -546,7 +546,7 @@ type ScatterpolarLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -559,13 +559,13 @@ type ScatterpolarLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -592,7 +592,7 @@ type ScatterpolarLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterpolarLegendgrouptitle @@ -607,7 +607,7 @@ type ScatterpolarLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarLine @@ -617,13 +617,13 @@ type ScatterpolarLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -635,7 +635,7 @@ type ScatterpolarLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -648,13 +648,13 @@ type ScatterpolarLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarMarkerColorbarTickfont Sets the color bar's tick label font @@ -670,7 +670,7 @@ type ScatterpolarMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -683,13 +683,13 @@ type ScatterpolarMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -716,7 +716,7 @@ type ScatterpolarMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterpolarMarkerColorbarTickformatstop @@ -732,25 +732,25 @@ type ScatterpolarMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -766,7 +766,7 @@ type ScatterpolarMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -779,13 +779,13 @@ type ScatterpolarMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -812,7 +812,7 @@ type ScatterpolarMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterpolarMarkerColorbarTitle @@ -834,7 +834,7 @@ type ScatterpolarMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarMarkerColorbar @@ -856,7 +856,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -881,7 +881,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -894,13 +894,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -919,13 +919,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -938,7 +938,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -958,7 +958,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -977,7 +977,7 @@ type ScatterpolarMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -994,7 +994,7 @@ type ScatterpolarMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1019,13 +1019,13 @@ type ScatterpolarMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1038,7 +1038,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1051,7 +1051,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1065,7 +1065,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1079,13 +1079,13 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1096,7 +1096,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1109,7 +1109,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1122,7 +1122,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1135,7 +1135,7 @@ type ScatterpolarMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1158,7 +1158,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1171,7 +1171,7 @@ type ScatterpolarMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterpolarMarkerLine @@ -1181,31 +1181,31 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1217,7 +1217,7 @@ type ScatterpolarMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1229,25 +1229,25 @@ type ScatterpolarMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarMarker @@ -1257,7 +1257,7 @@ type ScatterpolarMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1270,37 +1270,37 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1312,7 +1312,7 @@ type ScatterpolarMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1329,7 +1329,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1345,43 +1345,43 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1394,25 +1394,25 @@ type ScatterpolarMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1425,7 +1425,7 @@ type ScatterpolarMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarSelectedMarker @@ -1441,13 +1441,13 @@ type ScatterpolarSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarSelectedTextfont @@ -1481,13 +1481,13 @@ type ScatterpolarStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarTextfont Sets the text font. @@ -1503,19 +1503,19 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1528,31 +1528,31 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1565,7 +1565,7 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1578,7 +1578,7 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1591,19 +1591,19 @@ type ScatterpolarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterpolarTransform 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. @@ -1623,13 +1623,13 @@ type ScatterpolarUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/scatterpolargl_gen.go b/generated/v2.34.0/graph_objects/scatterpolargl_gen.go index 2ffc4ee..dd211da 100644 --- a/generated/v2.34.0/graph_objects/scatterpolargl_gen.go +++ b/generated/v2.34.0/graph_objects/scatterpolargl_gen.go @@ -32,7 +32,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -46,19 +46,19 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Dr // arrayOK: false // type: number // Sets the r coordinate step. - Dr float64 `json:"dr,omitempty"` + Dr types.NumberType `json:"dr,omitempty"` // Dtheta // arrayOK: false // type: number // Sets the theta coordinate step. By default, the `dtheta` step equals the subplot's period divided by the length of the `r` coordinates. - Dtheta float64 `json:"dtheta,omitempty"` + Dtheta types.NumberType `json:"dtheta,omitempty"` // Fill // arrayOK: false @@ -84,7 +84,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -95,25 +95,25 @@ type Scatterpolargl struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -127,19 +127,19 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -150,13 +150,13 @@ type Scatterpolargl struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -178,7 +178,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -191,13 +191,13 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // R // arrayOK: false @@ -217,7 +217,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `r`. - Rsrc types.String `json:"rsrc,omitempty"` + Rsrc types.StringType `json:"rsrc,omitempty"` // Selected // arrayOK: false @@ -234,7 +234,7 @@ type Scatterpolargl struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -245,13 +245,13 @@ type Scatterpolargl struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a polar subplot. If *polar* (the default value), the data refer to `layout.polar`. If *polar2*, the data refer to `layout.polar2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -269,25 +269,25 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `r`, `theta` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Theta // arrayOK: false @@ -307,7 +307,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `theta`. - Thetasrc types.String `json:"thetasrc,omitempty"` + Thetasrc types.StringType `json:"thetasrc,omitempty"` // Thetaunit // arrayOK: false @@ -325,7 +325,7 @@ type Scatterpolargl struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -359,19 +359,19 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -384,31 +384,31 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -421,7 +421,7 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -434,7 +434,7 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -447,19 +447,19 @@ type ScatterpolarglHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterpolarglHoverlabel @@ -476,7 +476,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -488,7 +488,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -500,7 +500,7 @@ type ScatterpolarglHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -511,13 +511,13 @@ type ScatterpolarglHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterpolarglLegendgrouptitleFont Sets this legend group's title font. @@ -533,7 +533,7 @@ type ScatterpolarglLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -546,13 +546,13 @@ type ScatterpolarglLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -579,7 +579,7 @@ type ScatterpolarglLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterpolarglLegendgrouptitle @@ -594,7 +594,7 @@ type ScatterpolarglLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglLine @@ -617,7 +617,7 @@ type ScatterpolarglLine struct { // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterpolarglMarkerColorbarTickfont Sets the color bar's tick label font @@ -633,7 +633,7 @@ type ScatterpolarglMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -646,13 +646,13 @@ type ScatterpolarglMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -679,7 +679,7 @@ type ScatterpolarglMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterpolarglMarkerColorbarTickformatstop @@ -695,25 +695,25 @@ type ScatterpolarglMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterpolarglMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -729,7 +729,7 @@ type ScatterpolarglMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -742,13 +742,13 @@ type ScatterpolarglMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -775,7 +775,7 @@ type ScatterpolarglMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterpolarglMarkerColorbarTitle @@ -797,7 +797,7 @@ type ScatterpolarglMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterpolarglMarkerColorbar @@ -819,7 +819,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -844,7 +844,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -857,13 +857,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -882,13 +882,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -901,7 +901,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -921,7 +921,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -940,7 +940,7 @@ type ScatterpolarglMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -957,7 +957,7 @@ type ScatterpolarglMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -982,13 +982,13 @@ type ScatterpolarglMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1001,7 +1001,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1014,7 +1014,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1028,7 +1028,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1042,13 +1042,13 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1059,7 +1059,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1072,7 +1072,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1085,7 +1085,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1098,7 +1098,7 @@ type ScatterpolarglMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1115,31 +1115,31 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1151,7 +1151,7 @@ type ScatterpolarglMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1163,25 +1163,25 @@ type ScatterpolarglMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterpolarglMarker @@ -1191,43 +1191,43 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1239,7 +1239,7 @@ type ScatterpolarglMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1256,7 +1256,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1267,37 +1267,37 @@ type ScatterpolarglMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1310,13 +1310,13 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1329,7 +1329,7 @@ type ScatterpolarglMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterpolarglSelectedMarker @@ -1345,13 +1345,13 @@ type ScatterpolarglSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglSelectedTextfont @@ -1385,13 +1385,13 @@ type ScatterpolarglStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterpolarglTextfont Sets the text font. @@ -1407,31 +1407,31 @@ type ScatterpolarglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1444,7 +1444,7 @@ type ScatterpolarglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Variant // arrayOK: true @@ -1457,7 +1457,7 @@ type ScatterpolarglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true @@ -1470,7 +1470,7 @@ type ScatterpolarglTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterpolarglTransform 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. @@ -1490,13 +1490,13 @@ type ScatterpolarglUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterpolarglUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/scattersmith_gen.go b/generated/v2.34.0/graph_objects/scattersmith_gen.go index 41dc234..ecc0a41 100644 --- a/generated/v2.34.0/graph_objects/scattersmith_gen.go +++ b/generated/v2.34.0/graph_objects/scattersmith_gen.go @@ -32,13 +32,13 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Customdata // arrayOK: false @@ -52,7 +52,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -78,7 +78,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -96,25 +96,25 @@ type Scattersmith struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -128,7 +128,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Imag // arrayOK: false @@ -142,19 +142,19 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `imag`. - Imagsrc types.String `json:"imagsrc,omitempty"` + Imagsrc types.StringType `json:"imagsrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -165,13 +165,13 @@ type Scattersmith struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -193,7 +193,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -206,13 +206,13 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Real // arrayOK: false @@ -226,7 +226,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `real`. - Realsrc types.String `json:"realsrc,omitempty"` + Realsrc types.StringType `json:"realsrc,omitempty"` // Selected // arrayOK: false @@ -243,7 +243,7 @@ type Scattersmith struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -254,13 +254,13 @@ type Scattersmith struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a smith subplot. If *smith* (the default value), the data refer to `layout.smith`. If *smith2*, the data refer to `layout.smith2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -278,25 +278,25 @@ type Scattersmith struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `real`, `imag` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -307,7 +307,7 @@ type Scattersmith struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -341,19 +341,19 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -366,31 +366,31 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -403,7 +403,7 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -416,7 +416,7 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -429,19 +429,19 @@ type ScattersmithHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScattersmithHoverlabel @@ -458,7 +458,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -470,7 +470,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -482,7 +482,7 @@ type ScattersmithHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -493,13 +493,13 @@ type ScattersmithHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScattersmithLegendgrouptitleFont Sets this legend group's title font. @@ -515,7 +515,7 @@ type ScattersmithLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -528,13 +528,13 @@ type ScattersmithLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -561,7 +561,7 @@ type ScattersmithLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattersmithLegendgrouptitle @@ -576,7 +576,7 @@ type ScattersmithLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithLine @@ -586,13 +586,13 @@ type ScattersmithLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -604,7 +604,7 @@ type ScattersmithLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -617,13 +617,13 @@ type ScattersmithLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScattersmithMarkerColorbarTickfont Sets the color bar's tick label font @@ -639,7 +639,7 @@ type ScattersmithMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -652,13 +652,13 @@ type ScattersmithMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -685,7 +685,7 @@ type ScattersmithMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattersmithMarkerColorbarTickformatstop @@ -701,25 +701,25 @@ type ScattersmithMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScattersmithMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -735,7 +735,7 @@ type ScattersmithMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -748,13 +748,13 @@ type ScattersmithMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -781,7 +781,7 @@ type ScattersmithMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScattersmithMarkerColorbarTitle @@ -803,7 +803,7 @@ type ScattersmithMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScattersmithMarkerColorbar @@ -825,7 +825,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -850,7 +850,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -863,13 +863,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -888,13 +888,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -907,7 +907,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -927,7 +927,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -946,7 +946,7 @@ type ScattersmithMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -963,7 +963,7 @@ type ScattersmithMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -988,13 +988,13 @@ type ScattersmithMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1007,7 +1007,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1020,7 +1020,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1034,7 +1034,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1048,13 +1048,13 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1065,7 +1065,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1078,7 +1078,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1091,7 +1091,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1104,7 +1104,7 @@ type ScattersmithMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1127,7 +1127,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1140,7 +1140,7 @@ type ScattersmithMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScattersmithMarkerLine @@ -1150,31 +1150,31 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1186,7 +1186,7 @@ type ScattersmithMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1198,25 +1198,25 @@ type ScattersmithMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScattersmithMarker @@ -1226,7 +1226,7 @@ type ScattersmithMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1239,37 +1239,37 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1281,7 +1281,7 @@ type ScattersmithMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1298,7 +1298,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1314,43 +1314,43 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1363,25 +1363,25 @@ type ScattersmithMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1394,7 +1394,7 @@ type ScattersmithMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScattersmithSelectedMarker @@ -1410,13 +1410,13 @@ type ScattersmithSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithSelectedTextfont @@ -1450,13 +1450,13 @@ type ScattersmithStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScattersmithTextfont Sets the text font. @@ -1472,19 +1472,19 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1497,31 +1497,31 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1534,7 +1534,7 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1547,7 +1547,7 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1560,19 +1560,19 @@ type ScattersmithTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScattersmithTransform 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. @@ -1592,13 +1592,13 @@ type ScattersmithUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScattersmithUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/scatterternary_gen.go b/generated/v2.34.0/graph_objects/scatterternary_gen.go index 860bf83..dec03db 100644 --- a/generated/v2.34.0/graph_objects/scatterternary_gen.go +++ b/generated/v2.34.0/graph_objects/scatterternary_gen.go @@ -40,7 +40,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `a`. - Asrc types.String `json:"asrc,omitempty"` + Asrc types.StringType `json:"asrc,omitempty"` // B // arrayOK: false @@ -54,7 +54,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `b`. - Bsrc types.String `json:"bsrc,omitempty"` + Bsrc types.StringType `json:"bsrc,omitempty"` // C // arrayOK: false @@ -68,19 +68,19 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not markers and text nodes are clipped about the subplot axes. To show markers and text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connectgaps // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the provided data arrays are connected. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Csrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `c`. - Csrc types.String `json:"csrc,omitempty"` + Csrc types.StringType `json:"csrc,omitempty"` // Customdata // arrayOK: false @@ -94,7 +94,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fill // arrayOK: false @@ -120,7 +120,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -138,25 +138,25 @@ type Scatterternary struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (a,b,c) 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,c). To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -170,19 +170,19 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -193,13 +193,13 @@ type Scatterternary struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -221,7 +221,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Mode // arrayOK: false @@ -234,13 +234,13 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -257,7 +257,7 @@ type Scatterternary struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -268,19 +268,19 @@ type Scatterternary struct { // arrayOK: false // type: subplotid // Sets a reference between this trace's data coordinates and a ternary subplot. If *ternary* (the default value), the data refer to `layout.ternary`. If *ternary2*, the data refer to `layout.ternary2`, and so on. - Subplot types.String `json:"subplot,omitempty"` + Subplot types.StringType `json:"subplot,omitempty"` // Sum // arrayOK: false // type: number // The number each triplet should sum to, if only two of `a`, `b`, and `c` are provided. This overrides `ternary.sum` to normalize this specific trace, but does not affect the values displayed on the axes. 0 (or missing) means to use ternary.sum - Sum float64 `json:"sum,omitempty"` + Sum types.NumberType `json:"sum,omitempty"` // Text // arrayOK: true // type: string // Sets text elements associated with each (a,b,c) 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,c). If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textfont // arrayOK: false @@ -298,25 +298,25 @@ type Scatterternary struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `a`, `b`, `c` and `text`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -327,7 +327,7 @@ type Scatterternary struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -361,19 +361,19 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -386,31 +386,31 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -423,7 +423,7 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -436,7 +436,7 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -449,19 +449,19 @@ type ScatterternaryHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterternaryHoverlabel @@ -478,7 +478,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -490,7 +490,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -502,7 +502,7 @@ type ScatterternaryHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -513,13 +513,13 @@ type ScatterternaryHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ScatterternaryLegendgrouptitleFont Sets this legend group's title font. @@ -535,7 +535,7 @@ type ScatterternaryLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -548,13 +548,13 @@ type ScatterternaryLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -581,7 +581,7 @@ type ScatterternaryLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterternaryLegendgrouptitle @@ -596,7 +596,7 @@ type ScatterternaryLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryLine @@ -606,13 +606,13 @@ type ScatterternaryLine struct { // 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*. - Backoff *types.ArrayOK[*float64] `json:"backoff,omitempty"` + Backoff *types.ArrayOK[*types.NumberType] `json:"backoff,omitempty"` // Backoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `backoff`. - Backoffsrc types.String `json:"backoffsrc,omitempty"` + Backoffsrc types.StringType `json:"backoffsrc,omitempty"` // Color // arrayOK: false @@ -624,7 +624,7 @@ type ScatterternaryLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Shape // arrayOK: false @@ -637,13 +637,13 @@ type ScatterternaryLine struct { // 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). - Smoothing float64 `json:"smoothing,omitempty"` + Smoothing types.NumberType `json:"smoothing,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ScatterternaryMarkerColorbarTickfont Sets the color bar's tick label font @@ -659,7 +659,7 @@ type ScatterternaryMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -672,13 +672,13 @@ type ScatterternaryMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -705,7 +705,7 @@ type ScatterternaryMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterternaryMarkerColorbarTickformatstop @@ -721,25 +721,25 @@ type ScatterternaryMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // ScatterternaryMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -755,7 +755,7 @@ type ScatterternaryMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -768,13 +768,13 @@ type ScatterternaryMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -801,7 +801,7 @@ type ScatterternaryMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ScatterternaryMarkerColorbarTitle @@ -823,7 +823,7 @@ type ScatterternaryMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ScatterternaryMarkerColorbar @@ -845,7 +845,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -870,7 +870,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -883,13 +883,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -908,13 +908,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -927,7 +927,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -947,7 +947,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -966,7 +966,7 @@ type ScatterternaryMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -983,7 +983,7 @@ type ScatterternaryMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1008,13 +1008,13 @@ type ScatterternaryMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1027,7 +1027,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1040,7 +1040,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1054,7 +1054,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1068,13 +1068,13 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1085,7 +1085,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1098,7 +1098,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1111,7 +1111,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1124,7 +1124,7 @@ type ScatterternaryMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1147,7 +1147,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Type // arrayOK: true @@ -1160,7 +1160,7 @@ type ScatterternaryMarkerGradient struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `type`. - Typesrc types.String `json:"typesrc,omitempty"` + Typesrc types.StringType `json:"typesrc,omitempty"` } // ScatterternaryMarkerLine @@ -1170,31 +1170,31 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1206,7 +1206,7 @@ type ScatterternaryMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1218,25 +1218,25 @@ type ScatterternaryMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // ScatterternaryMarker @@ -1246,7 +1246,7 @@ type ScatterternaryMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Angleref // arrayOK: false @@ -1259,37 +1259,37 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1301,7 +1301,7 @@ type ScatterternaryMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1318,7 +1318,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Gradient // arrayOK: false @@ -1334,43 +1334,43 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Sets a maximum number of points to be drawn on the graph. *0* corresponds to no limit. - Maxdisplayed float64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.NumberType `json:"maxdisplayed,omitempty"` // Opacity // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1383,25 +1383,25 @@ type ScatterternaryMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Standoff // arrayOK: true // type: number // Moves the marker away from the data point in the direction of `angle` (in px). This can be useful for example if you have another marker at this location and you want to point an arrowhead marker at it. - Standoff *types.ArrayOK[*float64] `json:"standoff,omitempty"` + Standoff *types.ArrayOK[*types.NumberType] `json:"standoff,omitempty"` // Standoffsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `standoff`. - Standoffsrc types.String `json:"standoffsrc,omitempty"` + Standoffsrc types.StringType `json:"standoffsrc,omitempty"` // Symbol // arrayOK: true @@ -1414,7 +1414,7 @@ type ScatterternaryMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // ScatterternarySelectedMarker @@ -1430,13 +1430,13 @@ type ScatterternarySelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternarySelectedTextfont @@ -1470,13 +1470,13 @@ type ScatterternaryStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ScatterternaryTextfont Sets the text font. @@ -1492,19 +1492,19 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1517,31 +1517,31 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1554,7 +1554,7 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1567,7 +1567,7 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1580,19 +1580,19 @@ type ScatterternaryTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ScatterternaryTransform 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. @@ -1612,13 +1612,13 @@ type ScatterternaryUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ScatterternaryUnselectedTextfont diff --git a/generated/v2.34.0/graph_objects/splom_gen.go b/generated/v2.34.0/graph_objects/splom_gen.go index c6ff94c..93679e0 100644 --- a/generated/v2.34.0/graph_objects/splom_gen.go +++ b/generated/v2.34.0/graph_objects/splom_gen.go @@ -40,7 +40,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Diagonal // arrayOK: false @@ -63,7 +63,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -74,25 +74,25 @@ type Splom struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -106,19 +106,19 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -129,13 +129,13 @@ type Splom struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Marker // arrayOK: false @@ -152,19 +152,19 @@ type Splom struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Selected // arrayOK: false @@ -181,19 +181,19 @@ type Splom struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showlowerhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the lower half from the diagonal are displayed. - Showlowerhalf types.Bool `json:"showlowerhalf,omitempty"` + Showlowerhalf types.BoolType `json:"showlowerhalf,omitempty"` // Showupperhalf // arrayOK: false // type: boolean // Determines whether or not subplots on the upper half from the diagonal are displayed. - Showupperhalf types.Bool `json:"showupperhalf,omitempty"` + Showupperhalf types.BoolType `json:"showupperhalf,omitempty"` // Stream // arrayOK: false @@ -204,13 +204,13 @@ type Splom struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair to appear on hover. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -221,7 +221,7 @@ type Splom struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -251,7 +251,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Yaxes // arrayOK: false @@ -263,7 +263,7 @@ type Splom struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` } // SplomDiagonal @@ -273,7 +273,7 @@ type SplomDiagonal struct { // arrayOK: false // type: boolean // Determines whether or not subplots on the diagonal are displayed. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // DimensionAxis @@ -283,7 +283,7 @@ type DimensionAxis struct { // arrayOK: false // type: boolean // Determines whether or not the x & y axes generated by this dimension match. Equivalent to setting the `matches` axis attribute in the layout with the correct axis id. - Matches types.Bool `json:"matches,omitempty"` + Matches types.BoolType `json:"matches,omitempty"` // Type // arrayOK: false @@ -305,19 +305,19 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the label corresponding to this splom dimension. - Label types.String `json:"label,omitempty"` + Label types.StringType `json:"label,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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Values // arrayOK: false @@ -331,13 +331,13 @@ type SplomDimension struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false // type: boolean // Determines whether or not this dimension is shown on the graph. Note that even visible false dimension contribute to the default grid generate by this splom trace. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // SplomHoverlabelFont Sets the font used in hover labels. @@ -353,19 +353,19 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -378,31 +378,31 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -415,7 +415,7 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -428,7 +428,7 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -441,19 +441,19 @@ type SplomHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SplomHoverlabel @@ -470,7 +470,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -482,7 +482,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -494,7 +494,7 @@ type SplomHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -505,13 +505,13 @@ type SplomHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SplomLegendgrouptitleFont Sets this legend group's title font. @@ -527,7 +527,7 @@ type SplomLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -540,13 +540,13 @@ type SplomLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -573,7 +573,7 @@ type SplomLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SplomLegendgrouptitle @@ -588,7 +588,7 @@ type SplomLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbarTickfont Sets the color bar's tick label font @@ -604,7 +604,7 @@ type SplomMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -617,13 +617,13 @@ type SplomMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -650,7 +650,7 @@ type SplomMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SplomMarkerColorbarTickformatstop @@ -666,25 +666,25 @@ type SplomMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SplomMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -700,7 +700,7 @@ type SplomMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -713,13 +713,13 @@ type SplomMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -746,7 +746,7 @@ type SplomMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SplomMarkerColorbarTitle @@ -768,7 +768,7 @@ type SplomMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SplomMarkerColorbar @@ -790,7 +790,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -815,7 +815,7 @@ type SplomMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -828,13 +828,13 @@ type SplomMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -853,13 +853,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -872,7 +872,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -892,7 +892,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -911,7 +911,7 @@ type SplomMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -928,7 +928,7 @@ type SplomMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -953,13 +953,13 @@ type SplomMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -972,7 +972,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -985,7 +985,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -999,7 +999,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1013,13 +1013,13 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1030,7 +1030,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1043,7 +1043,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1056,7 +1056,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1069,7 +1069,7 @@ type SplomMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1086,31 +1086,31 @@ type SplomMarkerLine struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.line.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.line.color`) or the bounds set in `marker.line.cmin` and `marker.line.cmax` Has an effect only if in `marker.line.color` is set to a numerical array. Defaults to `false` when `marker.line.cmin` and `marker.line.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.line.cmin` and/or `marker.line.cmax` to be equidistant to this point. Has an effect only if in `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color`. Has no effect when `marker.line.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.line.color` is set to a numerical array. Value should have the same units as in `marker.line.color` and if set, `marker.line.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1122,7 +1122,7 @@ type SplomMarkerLine struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorscale // arrayOK: false @@ -1134,25 +1134,25 @@ type SplomMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.line.color` is set to a numerical array. If true, `marker.line.cmin` will correspond to the last color in the array and `marker.line.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the lines bounding the marker points. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SplomMarker @@ -1162,43 +1162,43 @@ type SplomMarker struct { // arrayOK: true // type: angle // Sets the marker angle in respect to `angleref`. - Angle *types.ArrayOK[*float64] `json:"angle,omitempty"` + Angle *types.ArrayOK[*types.NumberType] `json:"angle,omitempty"` // Anglesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `angle`. - Anglesrc types.String `json:"anglesrc,omitempty"` + Anglesrc types.StringType `json:"anglesrc,omitempty"` // Autocolorscale // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if in `marker.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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 `marker.color`) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if in `marker.color` is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if in `marker.color` is set to a numerical array. Value should have the same units as in `marker.color`. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + 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 `marker.color` is set to a numerical array. Value should have the same units as in `marker.color` and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,omitempty"` // Color // arrayOK: true @@ -1210,7 +1210,7 @@ type SplomMarker struct { // 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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1227,7 +1227,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Line // arrayOK: false @@ -1238,37 +1238,37 @@ type SplomMarker struct { // arrayOK: true // type: number // Sets the marker opacity. - Opacity *types.ArrayOK[*float64] `json:"opacity,omitempty"` + Opacity *types.ArrayOK[*types.NumberType] `json:"opacity,omitempty"` // Opacitysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `opacity`. - Opacitysrc types.String `json:"opacitysrc,omitempty"` + Opacitysrc types.StringType `json:"opacitysrc,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if in `marker.color` is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if in `marker.color` is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Size // arrayOK: true // type: number // Sets the marker size (in px). - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizemin // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the minimum size (in px) of the rendered marker points. - Sizemin float64 `json:"sizemin,omitempty"` + Sizemin types.NumberType `json:"sizemin,omitempty"` // Sizemode // arrayOK: false @@ -1281,13 +1281,13 @@ type SplomMarker struct { // arrayOK: false // type: number // Has an effect only if `marker.size` is set to a numerical array. Sets the scale factor used to determine the rendered size of marker points. Use with `sizemin` and `sizemode`. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Symbol // arrayOK: true @@ -1300,7 +1300,7 @@ type SplomMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `symbol`. - Symbolsrc types.String `json:"symbolsrc,omitempty"` + Symbolsrc types.StringType `json:"symbolsrc,omitempty"` } // SplomSelectedMarker @@ -1316,13 +1316,13 @@ type SplomSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomSelected @@ -1341,13 +1341,13 @@ type SplomStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SplomTransform 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. @@ -1367,13 +1367,13 @@ type SplomUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // SplomUnselected diff --git a/generated/v2.34.0/graph_objects/streamtube_gen.go b/generated/v2.34.0/graph_objects/streamtube_gen.go index 839e3e5..5e8f980 100644 --- a/generated/v2.34.0/graph_objects/streamtube_gen.go +++ b/generated/v2.34.0/graph_objects/streamtube_gen.go @@ -32,37 +32,37 @@ type Streamtube struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 u/v/w norm) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as u/v/w norm. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as u/v/w norm and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -87,7 +87,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,19 +111,19 @@ type Streamtube struct { // 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. Finally, the template string has access to variables `tubex`, `tubey`, `tubez`, `tubeu`, `tubev`, `tubew`, `norm` and `divergence`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: false // type: string // Same as `text`. - Hovertext types.String `json:"hovertext,omitempty"` + Hovertext types.StringType `json:"hovertext,omitempty"` // Ids // arrayOK: false @@ -137,19 +137,19 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -160,13 +160,13 @@ type Streamtube struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -182,7 +182,7 @@ type Streamtube struct { // arrayOK: false // type: integer // The maximum number of displayed segments in a streamtube. - Maxdisplayed int64 `json:"maxdisplayed,omitempty"` + Maxdisplayed types.IntegerType `json:"maxdisplayed,omitempty"` // Meta // arrayOK: true @@ -194,49 +194,49 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Reversescale // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Sizeref // arrayOK: false // type: number // The scaling factor for the streamtubes. The default is 1, which avoids two max divergence tubes from touching at adjacent starting positions. - Sizeref float64 `json:"sizeref,omitempty"` + Sizeref types.NumberType `json:"sizeref,omitempty"` // Starts // arrayOK: false @@ -252,7 +252,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets a text element associated with this trace. If trace `hoverinfo` contains a *text* flag, this text element will be seen in all hover labels. Note that streamtube traces do not support array `text` values. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` // U // arrayOK: false @@ -266,13 +266,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `u` 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.By default the values are formatted using generic number format. - Uhoverformat types.String `json:"uhoverformat,omitempty"` + Uhoverformat types.StringType `json:"uhoverformat,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -284,7 +284,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `u`. - Usrc types.String `json:"usrc,omitempty"` + Usrc types.StringType `json:"usrc,omitempty"` // V // arrayOK: false @@ -298,7 +298,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `v` 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.By default the values are formatted using generic number format. - Vhoverformat types.String `json:"vhoverformat,omitempty"` + Vhoverformat types.StringType `json:"vhoverformat,omitempty"` // Visible // arrayOK: false @@ -311,7 +311,7 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `v`. - Vsrc types.String `json:"vsrc,omitempty"` + Vsrc types.StringType `json:"vsrc,omitempty"` // W // arrayOK: false @@ -325,13 +325,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `w` 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.By default the values are formatted using generic number format. - Whoverformat types.String `json:"whoverformat,omitempty"` + Whoverformat types.StringType `json:"whoverformat,omitempty"` // Wsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `w`. - Wsrc types.String `json:"wsrc,omitempty"` + Wsrc types.StringType `json:"wsrc,omitempty"` // X // arrayOK: false @@ -345,13 +345,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -365,13 +365,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -385,13 +385,13 @@ type Streamtube struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeColorbarTickfont Sets the color bar's tick label font @@ -407,7 +407,7 @@ type StreamtubeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -420,13 +420,13 @@ type StreamtubeColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -453,7 +453,7 @@ type StreamtubeColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // StreamtubeColorbarTickformatstop @@ -469,25 +469,25 @@ type StreamtubeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // StreamtubeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -503,7 +503,7 @@ type StreamtubeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -516,13 +516,13 @@ type StreamtubeColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -549,7 +549,7 @@ type StreamtubeColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // StreamtubeColorbarTitle @@ -571,7 +571,7 @@ type StreamtubeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeColorbar @@ -593,7 +593,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -618,7 +618,7 @@ type StreamtubeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -631,13 +631,13 @@ type StreamtubeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -656,13 +656,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -675,7 +675,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -695,7 +695,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -714,7 +714,7 @@ type StreamtubeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -731,7 +731,7 @@ type StreamtubeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -756,13 +756,13 @@ type StreamtubeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -775,7 +775,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -788,7 +788,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -802,7 +802,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -816,13 +816,13 @@ type StreamtubeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -833,7 +833,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -846,7 +846,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -859,7 +859,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -872,7 +872,7 @@ type StreamtubeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -895,19 +895,19 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -920,31 +920,31 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -957,7 +957,7 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -970,7 +970,7 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -983,19 +983,19 @@ type StreamtubeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // StreamtubeHoverlabel @@ -1012,7 +1012,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1024,7 +1024,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1036,7 +1036,7 @@ type StreamtubeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1047,13 +1047,13 @@ type StreamtubeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // StreamtubeLegendgrouptitleFont Sets this legend group's title font. @@ -1069,7 +1069,7 @@ type StreamtubeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1082,13 +1082,13 @@ type StreamtubeLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1115,7 +1115,7 @@ type StreamtubeLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // StreamtubeLegendgrouptitle @@ -1130,7 +1130,7 @@ type StreamtubeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // StreamtubeLighting @@ -1140,43 +1140,43 @@ type StreamtubeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // StreamtubeLightposition @@ -1186,19 +1186,19 @@ type StreamtubeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // StreamtubeStarts @@ -1216,7 +1216,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -1230,7 +1230,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -1244,7 +1244,7 @@ type StreamtubeStarts struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // StreamtubeStream @@ -1254,13 +1254,13 @@ type StreamtubeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // StreamtubeColorbarExponentformat 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. diff --git a/generated/v2.34.0/graph_objects/sunburst_gen.go b/generated/v2.34.0/graph_objects/sunburst_gen.go index 3f31241..9077e21 100644 --- a/generated/v2.34.0/graph_objects/sunburst_gen.go +++ b/generated/v2.34.0/graph_objects/sunburst_gen.go @@ -54,7 +54,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Sunburst struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -141,7 +141,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Leaf // arrayOK: false @@ -152,7 +152,7 @@ type Sunburst struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -163,13 +163,13 @@ type Sunburst struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -186,7 +186,7 @@ type Sunburst struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -198,19 +198,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -229,7 +229,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Root // arrayOK: false @@ -240,13 +240,13 @@ type Sunburst struct { // arrayOK: false // type: angle // Rotates the whole diagram counterclockwise by some angle. By default the first slice starts at 3 o'clock. - Rotation float64 `json:"rotation,omitempty"` + Rotation types.NumberType `json:"rotation,omitempty"` // Sort // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -277,19 +277,19 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Transforms // role: Object @@ -300,7 +300,7 @@ type Sunburst struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -320,7 +320,7 @@ type Sunburst struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -337,13 +337,13 @@ type SunburstDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this sunburst trace . - Column int64 `json:"column,omitempty"` + 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 sunburst trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -371,19 +371,19 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -396,31 +396,31 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -433,7 +433,7 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -446,7 +446,7 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -459,19 +459,19 @@ type SunburstHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SunburstHoverlabel @@ -488,7 +488,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -500,7 +500,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -512,7 +512,7 @@ type SunburstHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -523,13 +523,13 @@ type SunburstHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SunburstInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -545,19 +545,19 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -570,31 +570,31 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -607,7 +607,7 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -620,7 +620,7 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -633,19 +633,19 @@ type SunburstInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SunburstLeaf @@ -655,7 +655,7 @@ type SunburstLeaf struct { // arrayOK: false // type: number // Sets the opacity of the leaves. With colorscale it is defaulted to 1; otherwise it is defaulted to 0.7 - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` } // SunburstLegendgrouptitleFont Sets this legend group's title font. @@ -671,7 +671,7 @@ type SunburstLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -684,13 +684,13 @@ type SunburstLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -717,7 +717,7 @@ type SunburstLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SunburstLegendgrouptitle @@ -732,7 +732,7 @@ type SunburstLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbarTickfont Sets the color bar's tick label font @@ -748,7 +748,7 @@ type SunburstMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -761,13 +761,13 @@ type SunburstMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -794,7 +794,7 @@ type SunburstMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SunburstMarkerColorbarTickformatstop @@ -810,25 +810,25 @@ type SunburstMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SunburstMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -844,7 +844,7 @@ type SunburstMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -857,13 +857,13 @@ type SunburstMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -890,7 +890,7 @@ type SunburstMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SunburstMarkerColorbarTitle @@ -912,7 +912,7 @@ type SunburstMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SunburstMarkerColorbar @@ -934,7 +934,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -959,7 +959,7 @@ type SunburstMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -972,13 +972,13 @@ type SunburstMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -997,13 +997,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1016,7 +1016,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1036,7 +1036,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1055,7 +1055,7 @@ type SunburstMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1072,7 +1072,7 @@ type SunburstMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1097,13 +1097,13 @@ type SunburstMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1116,7 +1116,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1129,7 +1129,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1143,7 +1143,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1157,13 +1157,13 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1174,7 +1174,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1187,7 +1187,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1200,7 +1200,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1213,7 +1213,7 @@ type SunburstMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1236,19 +1236,19 @@ type SunburstMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // SunburstMarkerPattern Sets the pattern within the marker. @@ -1264,7 +1264,7 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1276,13 +1276,13 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1302,31 +1302,31 @@ type SunburstMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // SunburstMarker @@ -1336,37 +1336,37 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1391,7 +1391,7 @@ type SunburstMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Line // arrayOK: false @@ -1407,13 +1407,13 @@ type SunburstMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // SunburstOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented at the center of a sunburst graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1429,19 +1429,19 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1454,31 +1454,31 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1491,7 +1491,7 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1504,7 +1504,7 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1517,19 +1517,19 @@ type SunburstOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SunburstRoot @@ -1549,13 +1549,13 @@ type SunburstStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SunburstTextfont Sets the font used for `textinfo`. @@ -1571,19 +1571,19 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1596,31 +1596,31 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1633,7 +1633,7 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1646,7 +1646,7 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1659,19 +1659,19 @@ type SunburstTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SunburstTransform 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. diff --git a/generated/v2.34.0/graph_objects/surface_gen.go b/generated/v2.34.0/graph_objects/surface_gen.go index 591a018..bcbac1b 100644 --- a/generated/v2.34.0/graph_objects/surface_gen.go +++ b/generated/v2.34.0/graph_objects/surface_gen.go @@ -32,37 +32,37 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 z or surfacecolor) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as z or surfacecolor. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as z or surfacecolor and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -79,7 +79,7 @@ type Surface struct { // arrayOK: false // type: boolean // Determines whether or not gaps (i.e. {nan} or missing values) in the `z` data are filled in. - Connectgaps types.Bool `json:"connectgaps,omitempty"` + Connectgaps types.BoolType `json:"connectgaps,omitempty"` // Contours // arrayOK: false @@ -98,13 +98,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Hidesurface // arrayOK: false // type: boolean // Determines whether or not a surface is drawn. For example, set `hidesurface` to *false* `contours.x.show` to *true* and `contours.y.show` to *true* to draw a wire frame plot. - Hidesurface types.Bool `json:"hidesurface,omitempty"` + Hidesurface types.BoolType `json:"hidesurface,omitempty"` // Hoverinfo // arrayOK: true @@ -117,7 +117,7 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -128,25 +128,25 @@ type Surface struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -160,19 +160,19 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -183,13 +183,13 @@ type Surface struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -211,19 +211,19 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -235,25 +235,25 @@ type Surface struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Stream // arrayOK: false @@ -272,25 +272,25 @@ type Surface struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `surfacecolor`. - Surfacecolorsrc types.String `json:"surfacecolorsrc,omitempty"` + Surfacecolorsrc types.StringType `json:"surfacecolorsrc,omitempty"` // Text // arrayOK: true // type: string // Sets the text elements associated with each z value. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -324,13 +324,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -351,13 +351,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -378,13 +378,13 @@ type Surface struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // SurfaceColorbarTickfont Sets the color bar's tick label font @@ -400,7 +400,7 @@ type SurfaceColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -413,13 +413,13 @@ type SurfaceColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -446,7 +446,7 @@ type SurfaceColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SurfaceColorbarTickformatstop @@ -462,25 +462,25 @@ type SurfaceColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // SurfaceColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -496,7 +496,7 @@ type SurfaceColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -509,13 +509,13 @@ type SurfaceColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -542,7 +542,7 @@ type SurfaceColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SurfaceColorbarTitle @@ -564,7 +564,7 @@ type SurfaceColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceColorbar @@ -586,7 +586,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -611,7 +611,7 @@ type SurfaceColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -624,13 +624,13 @@ type SurfaceColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -649,13 +649,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -668,7 +668,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -688,7 +688,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -707,7 +707,7 @@ type SurfaceColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -724,7 +724,7 @@ type SurfaceColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -749,13 +749,13 @@ type SurfaceColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -768,7 +768,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -781,7 +781,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -795,7 +795,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -809,13 +809,13 @@ type SurfaceColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -826,7 +826,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -839,7 +839,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -852,7 +852,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -865,7 +865,7 @@ type SurfaceColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -882,19 +882,19 @@ type SurfaceContoursXProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursX @@ -910,13 +910,13 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -928,7 +928,7 @@ type SurfaceContoursX struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -939,31 +939,31 @@ type SurfaceContoursX struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursYProject @@ -973,19 +973,19 @@ type SurfaceContoursYProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursY @@ -1001,13 +1001,13 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -1019,7 +1019,7 @@ type SurfaceContoursY struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -1030,31 +1030,31 @@ type SurfaceContoursY struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContoursZProject @@ -1064,19 +1064,19 @@ type SurfaceContoursZProject struct { // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the x plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - X types.Bool `json:"x,omitempty"` + X types.BoolType `json:"x,omitempty"` // Y // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the y plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Y types.Bool `json:"y,omitempty"` + Y types.BoolType `json:"y,omitempty"` // Z // arrayOK: false // type: boolean // Determines whether or not these contour lines are projected on the z plane. If `highlight` is set to *true* (the default), the projected lines are shown on hover. If `show` is set to *true*, the projected lines are shown in permanence. - Z types.Bool `json:"z,omitempty"` + Z types.BoolType `json:"z,omitempty"` } // SurfaceContoursZ @@ -1092,13 +1092,13 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the end contour level value. Must be more than `contours.start` - End float64 `json:"end,omitempty"` + End types.NumberType `json:"end,omitempty"` // Highlight // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are highlighted on hover. - Highlight types.Bool `json:"highlight,omitempty"` + Highlight types.BoolType `json:"highlight,omitempty"` // Highlightcolor // arrayOK: false @@ -1110,7 +1110,7 @@ type SurfaceContoursZ struct { // arrayOK: false // type: number // Sets the width of the highlighted contour lines. - Highlightwidth float64 `json:"highlightwidth,omitempty"` + Highlightwidth types.NumberType `json:"highlightwidth,omitempty"` // Project // arrayOK: false @@ -1121,31 +1121,31 @@ type SurfaceContoursZ struct { // arrayOK: false // type: boolean // Determines whether or not contour lines about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Size // arrayOK: false // type: number // Sets the step between each contour level. Must be positive. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Start // arrayOK: false // type: number // Sets the starting contour level value. Must be less than `contours.end` - Start float64 `json:"start,omitempty"` + Start types.NumberType `json:"start,omitempty"` // Usecolormap // arrayOK: false // type: boolean // An alternate to *color*. Determines whether or not the contour lines are colored using the trace *colorscale*. - Usecolormap types.Bool `json:"usecolormap,omitempty"` + Usecolormap types.BoolType `json:"usecolormap,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // SurfaceContours @@ -1180,19 +1180,19 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1205,31 +1205,31 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1242,7 +1242,7 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1255,7 +1255,7 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1268,19 +1268,19 @@ type SurfaceHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // SurfaceHoverlabel @@ -1297,7 +1297,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1309,7 +1309,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1321,7 +1321,7 @@ type SurfaceHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1332,13 +1332,13 @@ type SurfaceHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // SurfaceLegendgrouptitleFont Sets this legend group's title font. @@ -1354,7 +1354,7 @@ type SurfaceLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1367,13 +1367,13 @@ type SurfaceLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1400,7 +1400,7 @@ type SurfaceLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // SurfaceLegendgrouptitle @@ -1415,7 +1415,7 @@ type SurfaceLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // SurfaceLighting @@ -1425,31 +1425,31 @@ type SurfaceLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` } // SurfaceLightposition @@ -1459,19 +1459,19 @@ type SurfaceLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // SurfaceStream @@ -1481,13 +1481,13 @@ type SurfaceStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // SurfaceColorbarExponentformat 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. diff --git a/generated/v2.34.0/graph_objects/table_gen.go b/generated/v2.34.0/graph_objects/table_gen.go index 8be35e9..33e4223 100644 --- a/generated/v2.34.0/graph_objects/table_gen.go +++ b/generated/v2.34.0/graph_objects/table_gen.go @@ -45,19 +45,19 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnorder`. - Columnordersrc types.String `json:"columnordersrc,omitempty"` + Columnordersrc types.StringType `json:"columnordersrc,omitempty"` // Columnwidth // arrayOK: true // type: number // The width of columns expressed as a ratio. Columns fill the available width in proportion of their specified column widths. - Columnwidth *types.ArrayOK[*float64] `json:"columnwidth,omitempty"` + Columnwidth *types.ArrayOK[*types.NumberType] `json:"columnwidth,omitempty"` // Columnwidthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `columnwidth`. - Columnwidthsrc types.String `json:"columnwidthsrc,omitempty"` + Columnwidthsrc types.StringType `json:"columnwidthsrc,omitempty"` // Customdata // arrayOK: false @@ -71,7 +71,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -94,7 +94,7 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -113,13 +113,13 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -130,13 +130,13 @@ type Table struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Meta // arrayOK: true @@ -148,13 +148,13 @@ type Table struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Stream // arrayOK: false @@ -165,7 +165,7 @@ type Table struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -194,7 +194,7 @@ type TableCellsFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableCellsFont @@ -210,19 +210,19 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -235,31 +235,31 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -272,7 +272,7 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -285,7 +285,7 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -298,19 +298,19 @@ type TableCellsFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TableCellsLine @@ -326,19 +326,19 @@ type TableCellsLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableCells @@ -355,7 +355,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -379,13 +379,13 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -396,25 +396,25 @@ type TableCells struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -428,7 +428,7 @@ type TableCells struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableDomain @@ -438,13 +438,13 @@ type TableDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this table trace . - Column int64 `json:"column,omitempty"` + 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 table trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -472,7 +472,7 @@ type TableHeaderFill struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` } // TableHeaderFont @@ -488,19 +488,19 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -513,31 +513,31 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -550,7 +550,7 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -563,7 +563,7 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -576,19 +576,19 @@ type TableHeaderFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TableHeaderLine @@ -604,19 +604,19 @@ type TableHeaderLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TableHeader @@ -633,7 +633,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Fill // arrayOK: false @@ -657,13 +657,13 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `format`. - Formatsrc types.String `json:"formatsrc,omitempty"` + Formatsrc types.StringType `json:"formatsrc,omitempty"` // Height // arrayOK: false // type: number // The height of cells. - Height float64 `json:"height,omitempty"` + Height types.NumberType `json:"height,omitempty"` // Line // arrayOK: false @@ -674,25 +674,25 @@ type TableHeader struct { // arrayOK: true // type: string // Prefix for cell values. - Prefix *types.ArrayOK[*types.String] `json:"prefix,omitempty"` + Prefix *types.ArrayOK[*types.StringType] `json:"prefix,omitempty"` // Prefixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `prefix`. - Prefixsrc types.String `json:"prefixsrc,omitempty"` + Prefixsrc types.StringType `json:"prefixsrc,omitempty"` // Suffix // arrayOK: true // type: string // Suffix for cell values. - Suffix *types.ArrayOK[*types.String] `json:"suffix,omitempty"` + Suffix *types.ArrayOK[*types.StringType] `json:"suffix,omitempty"` // Suffixsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `suffix`. - Suffixsrc types.String `json:"suffixsrc,omitempty"` + Suffixsrc types.StringType `json:"suffixsrc,omitempty"` // Values // arrayOK: false @@ -706,7 +706,7 @@ type TableHeader struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` } // TableHoverlabelFont Sets the font used in hover labels. @@ -722,19 +722,19 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -747,31 +747,31 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -784,7 +784,7 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -797,7 +797,7 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -810,19 +810,19 @@ type TableHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TableHoverlabel @@ -839,7 +839,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -851,7 +851,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -863,7 +863,7 @@ type TableHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -874,13 +874,13 @@ type TableHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TableLegendgrouptitleFont Sets this legend group's title font. @@ -896,7 +896,7 @@ type TableLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -909,13 +909,13 @@ type TableLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -942,7 +942,7 @@ type TableLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // TableLegendgrouptitle @@ -957,7 +957,7 @@ type TableLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TableStream @@ -967,13 +967,13 @@ type TableStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TableCellsAlign Sets the horizontal alignment of the `text` within the box. Has an effect only if `text` spans two or more lines (i.e. `text` contains one or more
HTML tags) or if an explicit width is set to override the text width. diff --git a/generated/v2.34.0/graph_objects/treemap_gen.go b/generated/v2.34.0/graph_objects/treemap_gen.go index 027b25a..bd7f5d3 100644 --- a/generated/v2.34.0/graph_objects/treemap_gen.go +++ b/generated/v2.34.0/graph_objects/treemap_gen.go @@ -54,7 +54,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Domain // arrayOK: false @@ -72,7 +72,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -83,25 +83,25 @@ type Treemap struct { // 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry` and `percentParent`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each sector. If a single string, the same string appears for all data points. If an array of string, the items are mapped in order of this trace's sectors. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -115,7 +115,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Insidetextfont // arrayOK: false @@ -134,13 +134,13 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `labels`. - Labelssrc types.String `json:"labelssrc,omitempty"` + Labelssrc types.StringType `json:"labelssrc,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgrouptitle // arrayOK: false @@ -151,13 +151,13 @@ type Treemap struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Level // arrayOK: false @@ -174,7 +174,7 @@ type Treemap struct { // arrayOK: false // type: integer // Sets the number of rendered sectors from any given `level`. Set `maxdepth` to *-1* to render all the levels in the hierarchy. - Maxdepth int64 `json:"maxdepth,omitempty"` + Maxdepth types.IntegerType `json:"maxdepth,omitempty"` // Meta // arrayOK: true @@ -186,19 +186,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outsidetextfont // arrayOK: false @@ -217,7 +217,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `parents`. - Parentssrc types.String `json:"parentssrc,omitempty"` + Parentssrc types.StringType `json:"parentssrc,omitempty"` // Pathbar // arrayOK: false @@ -233,7 +233,7 @@ type Treemap struct { // arrayOK: false // type: boolean // Determines whether or not the sectors are reordered from largest to smallest. - Sort types.Bool `json:"sort,omitempty"` + Sort types.BoolType `json:"sort,omitempty"` // Stream // arrayOK: false @@ -271,19 +271,19 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `currentPath`, `root`, `entry`, `percentRoot`, `percentEntry`, `percentParent`, `label` and `value`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Tiling // arrayOK: false @@ -299,7 +299,7 @@ type Treemap struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -319,7 +319,7 @@ type Treemap struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `values`. - Valuessrc types.String `json:"valuessrc,omitempty"` + Valuessrc types.StringType `json:"valuessrc,omitempty"` // Visible // arrayOK: false @@ -336,13 +336,13 @@ type TreemapDomain struct { // arrayOK: false // type: integer // If there is a layout grid, use the domain for this column in the grid for this treemap trace . - Column int64 `json:"column,omitempty"` + 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 treemap trace . - Row int64 `json:"row,omitempty"` + Row types.IntegerType `json:"row,omitempty"` // X // arrayOK: false @@ -370,19 +370,19 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -395,31 +395,31 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -432,7 +432,7 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -445,7 +445,7 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -458,19 +458,19 @@ type TreemapHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TreemapHoverlabel @@ -487,7 +487,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -499,7 +499,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -511,7 +511,7 @@ type TreemapHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -522,13 +522,13 @@ type TreemapHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // TreemapInsidetextfont Sets the font used for `textinfo` lying inside the sector. @@ -544,19 +544,19 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -569,31 +569,31 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -606,7 +606,7 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -619,7 +619,7 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -632,19 +632,19 @@ type TreemapInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TreemapLegendgrouptitleFont Sets this legend group's title font. @@ -660,7 +660,7 @@ type TreemapLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -673,13 +673,13 @@ type TreemapLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -706,7 +706,7 @@ type TreemapLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // TreemapLegendgrouptitle @@ -721,7 +721,7 @@ type TreemapLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbarTickfont Sets the color bar's tick label font @@ -737,7 +737,7 @@ type TreemapMarkerColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -750,13 +750,13 @@ type TreemapMarkerColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -783,7 +783,7 @@ type TreemapMarkerColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // TreemapMarkerColorbarTickformatstop @@ -799,25 +799,25 @@ type TreemapMarkerColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // TreemapMarkerColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -833,7 +833,7 @@ type TreemapMarkerColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -846,13 +846,13 @@ type TreemapMarkerColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -879,7 +879,7 @@ type TreemapMarkerColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // TreemapMarkerColorbarTitle @@ -901,7 +901,7 @@ type TreemapMarkerColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // TreemapMarkerColorbar @@ -923,7 +923,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -948,7 +948,7 @@ type TreemapMarkerColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -961,13 +961,13 @@ type TreemapMarkerColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -986,13 +986,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -1005,7 +1005,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -1025,7 +1025,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -1044,7 +1044,7 @@ type TreemapMarkerColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -1061,7 +1061,7 @@ type TreemapMarkerColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -1086,13 +1086,13 @@ type TreemapMarkerColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -1105,7 +1105,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -1118,7 +1118,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -1132,7 +1132,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -1146,13 +1146,13 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -1163,7 +1163,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -1176,7 +1176,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -1189,7 +1189,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -1202,7 +1202,7 @@ type TreemapMarkerColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -1225,19 +1225,19 @@ type TreemapMarkerLine struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + Colorsrc types.StringType `json:"colorsrc,omitempty"` // Width // arrayOK: true // type: number // Sets the width (in px) of the line enclosing each sector. - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` } // TreemapMarkerPad @@ -1247,25 +1247,25 @@ type TreemapMarkerPad struct { // arrayOK: false // type: number // Sets the padding form the bottom (in px). - B float64 `json:"b,omitempty"` + B types.NumberType `json:"b,omitempty"` // L // arrayOK: false // type: number // Sets the padding form the left (in px). - L float64 `json:"l,omitempty"` + L types.NumberType `json:"l,omitempty"` // R // arrayOK: false // type: number // Sets the padding form the right (in px). - R float64 `json:"r,omitempty"` + R types.NumberType `json:"r,omitempty"` // T // arrayOK: false // type: number // Sets the padding form the top (in px). - T float64 `json:"t,omitempty"` + T types.NumberType `json:"t,omitempty"` } // TreemapMarkerPattern Sets the pattern within the marker. @@ -1281,7 +1281,7 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Fgcolor // arrayOK: true @@ -1293,13 +1293,13 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `fgcolor`. - Fgcolorsrc types.String `json:"fgcolorsrc,omitempty"` + Fgcolorsrc types.StringType `json:"fgcolorsrc,omitempty"` // Fgopacity // arrayOK: false // type: number // Sets the opacity of the foreground pattern fill. Defaults to a 0.5 when `fillmode` is *overlay*. Otherwise, defaults to 1. - Fgopacity float64 `json:"fgopacity,omitempty"` + Fgopacity types.NumberType `json:"fgopacity,omitempty"` // Fillmode // arrayOK: false @@ -1319,31 +1319,31 @@ type TreemapMarkerPattern struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shape`. - Shapesrc types.String `json:"shapesrc,omitempty"` + Shapesrc types.StringType `json:"shapesrc,omitempty"` // Size // arrayOK: true // type: number // Sets the size of unit squares of the pattern fill in pixels, which corresponds to the interval of repetition of the pattern. - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Solidity // arrayOK: true // type: number // Sets the solidity of the pattern fill. Solidity is roughly the fraction of the area filled by the pattern. Solidity of 0 shows only the background color without pattern and solidty of 1 shows only the foreground color without pattern. - Solidity *types.ArrayOK[*float64] `json:"solidity,omitempty"` + Solidity *types.ArrayOK[*types.NumberType] `json:"solidity,omitempty"` // Soliditysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `solidity`. - Soliditysrc types.String `json:"soliditysrc,omitempty"` + Soliditysrc types.StringType `json:"soliditysrc,omitempty"` } // TreemapMarker @@ -1353,37 +1353,37 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `marker.colorscale`. Has an effect only if colors 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + 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 colors) or the bounds set in `marker.cmin` and `marker.cmax` Has an effect only if colors is set to a numerical array. Defaults to `false` when `marker.cmin` and `marker.cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `marker.cmin` and/or `marker.cmax` to be equidistant to this point. Has an effect only if colors is set to a numerical array. Value should have the same units as colors. Has no effect when `marker.cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Has an effect only if colors is set to a numerical array. Value should have the same units as colors and if set, `marker.cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -1408,13 +1408,13 @@ type TreemapMarker struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `colors`. - Colorssrc types.String `json:"colorssrc,omitempty"` + Colorssrc types.StringType `json:"colorssrc,omitempty"` // Cornerradius // arrayOK: false // type: number // Sets the maximum rounding of corners (in px). - Cornerradius float64 `json:"cornerradius,omitempty"` + Cornerradius types.NumberType `json:"cornerradius,omitempty"` // Depthfade // arrayOK: false @@ -1442,13 +1442,13 @@ type TreemapMarker struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. Has an effect only if colors is set to a numerical array. If true, `marker.cmin` will correspond to the last color in the array and `marker.cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. Has an effect only if colors is set to a numerical array. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` } // TreemapOutsidetextfont Sets the font used for `textinfo` lying outside the sector. This option refers to the root of the hierarchy presented on top left corner of a treemap graph. Please note that if a hierarchy has multiple root nodes, this option won't have any effect and `insidetextfont` would be used. @@ -1464,19 +1464,19 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1489,31 +1489,31 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1526,7 +1526,7 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1539,7 +1539,7 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1552,19 +1552,19 @@ type TreemapOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TreemapPathbarTextfont Sets the font used inside `pathbar`. @@ -1580,19 +1580,19 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1605,31 +1605,31 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1642,7 +1642,7 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1655,7 +1655,7 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1668,19 +1668,19 @@ type TreemapPathbarTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TreemapPathbar @@ -1709,13 +1709,13 @@ type TreemapPathbar struct { // arrayOK: false // type: number // Sets the thickness of `pathbar` (in px). If not specified the `pathbar.textfont.size` is used with 3 pixles extra padding on each side. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Visible // arrayOK: false // type: boolean // Determines if the path bar is drawn i.e. outside the trace `domain` and with one pixel gap. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // TreemapRoot @@ -1735,13 +1735,13 @@ type TreemapStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // TreemapTextfont Sets the font used for `textinfo`. @@ -1757,19 +1757,19 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1782,31 +1782,31 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1819,7 +1819,7 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1832,7 +1832,7 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1845,19 +1845,19 @@ type TreemapTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // TreemapTiling @@ -1881,13 +1881,13 @@ type TreemapTiling struct { // arrayOK: false // type: number // Sets the inner padding (in px). - Pad float64 `json:"pad,omitempty"` + Pad types.NumberType `json:"pad,omitempty"` // Squarifyratio // arrayOK: false // type: number // When using *squarify* `packing` algorithm, according to https://github.com/d3/d3-hierarchy/blob/v3.1.1/README.md#squarify_ratio this option specifies the desired aspect ratio of the generated rectangles. The ratio must be specified as a number greater than or equal to one. Note that the orientation of the generated rectangles (tall or wide) is not implied by the ratio; for example, a ratio of two will attempt to produce a mixture of rectangles whose width:height ratio is either 2:1 or 1:2. When using *squarify*, unlike d3 which uses the Golden Ratio i.e. 1.618034, Plotly applies 1 to increase squares in treemap layouts. - Squarifyratio float64 `json:"squarifyratio,omitempty"` + Squarifyratio types.NumberType `json:"squarifyratio,omitempty"` } // TreemapTransform 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. diff --git a/generated/v2.34.0/graph_objects/violin_gen.go b/generated/v2.34.0/graph_objects/violin_gen.go index 4fd2ad3..4a0d100 100644 --- a/generated/v2.34.0/graph_objects/violin_gen.go +++ b/generated/v2.34.0/graph_objects/violin_gen.go @@ -32,13 +32,13 @@ type Violin struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Bandwidth // arrayOK: false // type: number // Sets the bandwidth used to compute the kernel density estimate. By default, the bandwidth is determined by Silverman's rule of thumb. - Bandwidth float64 `json:"bandwidth,omitempty"` + Bandwidth types.NumberType `json:"bandwidth,omitempty"` // Box // arrayOK: false @@ -57,7 +57,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Fillcolor // arrayOK: false @@ -76,7 +76,7 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -94,25 +94,25 @@ type Violin struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -126,25 +126,25 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Jitter // arrayOK: false // type: number // Sets the amount of jitter in the sample points drawn. If *0*, the sample points align along the distribution axis. If *1*, the sample points are drawn in a random jitter of width equal to the width of the violins. - Jitter float64 `json:"jitter,omitempty"` + Jitter types.NumberType `json:"jitter,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -155,13 +155,13 @@ type Violin struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Line // arrayOK: false @@ -188,25 +188,25 @@ type Violin struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. For violin traces, the name will also be used for the position coordinate, if `x` and `x0` (`y` and `y0` if horizontal) are missing and the position axis is categorical. Note that the trace name is also used as a default value for attribute `scalegroup` (please see its description for details). - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -219,7 +219,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the position of the sample points in relation to the violins. If *0*, the sample points are places over the center of the violins. Positive (negative) values correspond to positions to the right (left) for vertical violins and above (below) for horizontal violins. - Pointpos float64 `json:"pointpos,omitempty"` + Pointpos types.NumberType `json:"pointpos,omitempty"` // Points // arrayOK: false @@ -239,7 +239,7 @@ type Violin struct { // arrayOK: false // type: string // If there are multiple violins that should be sized according to to some metric (see `scalemode`), link them by providing a non-empty group id here shared by every trace in the same group. If a violin's `width` is undefined, `scalegroup` will default to the trace's name. In this case, violins with the same names will be linked together - Scalegroup types.String `json:"scalegroup,omitempty"` + Scalegroup types.StringType `json:"scalegroup,omitempty"` // Scalemode // arrayOK: false @@ -263,7 +263,7 @@ type Violin struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Side // arrayOK: false @@ -294,13 +294,13 @@ type Violin struct { // arrayOK: true // type: string // Sets the text elements associated with each sample value. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Transforms // role: Object @@ -311,7 +311,7 @@ type Violin struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -335,7 +335,7 @@ type Violin struct { // arrayOK: false // type: number // Sets the width of the violin in data coordinates. If *0* (default value) the width is automatically selected based on the positions of other violin traces in the same subplot. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` // X // arrayOK: false @@ -355,19 +355,19 @@ type Violin struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -387,25 +387,25 @@ type Violin struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // ViolinBoxLine @@ -421,7 +421,7 @@ type ViolinBoxLine struct { // arrayOK: false // type: number // Sets the inner box plot bounding line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinBox @@ -442,13 +442,13 @@ type ViolinBox struct { // arrayOK: false // type: boolean // Determines if an miniature box plot is drawn inside the violins. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the inner box plots relative to the violins' width. For example, with 1, the inner box plots are as wide as the violins. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinHoverlabelFont Sets the font used in hover labels. @@ -464,19 +464,19 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -489,31 +489,31 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -526,7 +526,7 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -539,7 +539,7 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -552,19 +552,19 @@ type ViolinHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // ViolinHoverlabel @@ -581,7 +581,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -593,7 +593,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -605,7 +605,7 @@ type ViolinHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -616,13 +616,13 @@ type ViolinHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // ViolinLegendgrouptitleFont Sets this legend group's title font. @@ -638,7 +638,7 @@ type ViolinLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -651,13 +651,13 @@ type ViolinLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -684,7 +684,7 @@ type ViolinLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // ViolinLegendgrouptitle @@ -699,7 +699,7 @@ type ViolinLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // ViolinLine @@ -715,7 +715,7 @@ type ViolinLine struct { // arrayOK: false // type: number // Sets the width (in px) of line bounding the violin(s). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarkerLine @@ -737,13 +737,13 @@ type ViolinMarkerLine struct { // arrayOK: false // type: number // Sets the border line width (in px) of the outlier sample points. - Outlierwidth float64 `json:"outlierwidth,omitempty"` + Outlierwidth types.NumberType `json:"outlierwidth,omitempty"` // Width // arrayOK: false // type: number // Sets the width (in px) of the lines bounding the marker points. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinMarker @@ -753,7 +753,7 @@ type ViolinMarker struct { // arrayOK: false // type: angle // Sets the marker angle in respect to `angleref`. - Angle float64 `json:"angle,omitempty"` + Angle types.NumberType `json:"angle,omitempty"` // Color // arrayOK: false @@ -770,7 +770,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker opacity. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Outliercolor // arrayOK: false @@ -782,7 +782,7 @@ type ViolinMarker struct { // arrayOK: false // type: number // Sets the marker size (in px). - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Symbol // arrayOK: false @@ -805,13 +805,13 @@ type ViolinMeanline struct { // arrayOK: false // type: boolean // Determines if a line corresponding to the sample's mean is shown inside the violins. If `box.visible` is turned on, the mean line is drawn inside the inner box. Otherwise, the mean line is drawn from one side of the violin to other. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` // Width // arrayOK: false // type: number // Sets the mean line width. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // ViolinSelectedMarker @@ -827,13 +827,13 @@ type ViolinSelectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of selected points. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of selected points. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinSelected @@ -852,13 +852,13 @@ type ViolinStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // ViolinTransform 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. @@ -878,13 +878,13 @@ type ViolinUnselectedMarker struct { // arrayOK: false // type: number // Sets the marker opacity of unselected points, applied only when a selection exists. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Size // arrayOK: false // type: number // Sets the marker size of unselected points, applied only when a selection exists. - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` } // ViolinUnselected diff --git a/generated/v2.34.0/graph_objects/volume_gen.go b/generated/v2.34.0/graph_objects/volume_gen.go index 0bd3bb0..45bdac1 100644 --- a/generated/v2.34.0/graph_objects/volume_gen.go +++ b/generated/v2.34.0/graph_objects/volume_gen.go @@ -32,7 +32,7 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether the colorscale is a default palette (`autocolorscale: true`) or the palette determined by `colorscale`. 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. - Autocolorscale types.Bool `json:"autocolorscale,omitempty"` + Autocolorscale types.BoolType `json:"autocolorscale,omitempty"` // Caps // arrayOK: false @@ -43,31 +43,31 @@ type Volume struct { // arrayOK: false // type: boolean // Determines whether or not the color domain is computed with respect to the input data (here `value`) or the bounds set in `cmin` and `cmax` Defaults to `false` when `cmin` and `cmax` are set by the user. - Cauto types.Bool `json:"cauto,omitempty"` + Cauto types.BoolType `json:"cauto,omitempty"` // Cmax // arrayOK: false // type: number // Sets the upper bound of the color domain. Value should have the same units as `value` and if set, `cmin` must be set as well. - Cmax float64 `json:"cmax,omitempty"` + Cmax types.NumberType `json:"cmax,omitempty"` // Cmid // arrayOK: false // type: number // Sets the mid-point of the color domain by scaling `cmin` and/or `cmax` to be equidistant to this point. Value should have the same units as `value`. Has no effect when `cauto` is `false`. - Cmid float64 `json:"cmid,omitempty"` + Cmid types.NumberType `json:"cmid,omitempty"` // Cmin // arrayOK: false // type: number // Sets the lower bound of the color domain. Value should have the same units as `value` and if set, `cmax` must be set as well. - Cmin float64 `json:"cmin,omitempty"` + Cmin types.NumberType `json:"cmin,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. - Coloraxis types.String `json:"coloraxis,omitempty"` + Coloraxis types.StringType `json:"coloraxis,omitempty"` // Colorbar // arrayOK: false @@ -97,13 +97,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Flatshading // arrayOK: false // type: boolean // Determines whether or not normal smoothing is applied to the meshes, creating meshes with an angular, low-poly look via flat reflections. - Flatshading types.Bool `json:"flatshading,omitempty"` + Flatshading types.BoolType `json:"flatshading,omitempty"` // Hoverinfo // arrayOK: true @@ -116,7 +116,7 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -127,25 +127,25 @@ type Volume struct { // 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 `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Same as `text`. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -159,31 +159,31 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Isomax // arrayOK: false // type: number // Sets the maximum boundary for iso-surface plot. - Isomax float64 `json:"isomax,omitempty"` + Isomax types.NumberType `json:"isomax,omitempty"` // Isomin // arrayOK: false // type: number // Sets the minimum boundary for iso-surface plot. - Isomin float64 `json:"isomin,omitempty"` + Isomin types.NumberType `json:"isomin,omitempty"` // Legend // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -194,13 +194,13 @@ type Volume struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Lighting // arrayOK: false @@ -222,19 +222,19 @@ type Volume struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the surface. Please note that in the case of using high `opacity` values for example a value greater than or equal to 0.5 on two surfaces (and 0.25 with four surfaces), an overlay of multiple transparent surfaces may not perfectly be sorted in depth by the webgl API. This behavior may be improved in the near future and is subject to change. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Opacityscale // arrayOK: false @@ -246,25 +246,25 @@ type Volume struct { // arrayOK: false // type: boolean // Reverses the color mapping if true. If true, `cmin` will correspond to the last color in the array and `cmax` will correspond to the first color. - Reversescale types.Bool `json:"reversescale,omitempty"` + Reversescale types.BoolType `json:"reversescale,omitempty"` // Scene // arrayOK: false // type: subplotid // Sets a reference between this trace's 3D coordinate system and a 3D scene. If *scene* (the default value), the (x,y,z) coordinates refer to `layout.scene`. If *scene2*, the (x,y,z) coordinates refer to `layout.scene2`, and so on. - Scene types.String `json:"scene,omitempty"` + Scene types.StringType `json:"scene,omitempty"` // Showlegend // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Showscale // arrayOK: false // type: boolean // Determines whether or not a colorbar is displayed for this trace. - Showscale types.Bool `json:"showscale,omitempty"` + Showscale types.BoolType `json:"showscale,omitempty"` // Slices // arrayOK: false @@ -290,19 +290,19 @@ type Volume struct { // arrayOK: true // type: string // Sets the text elements associated with the vertices. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + Textsrc types.StringType `json:"textsrc,omitempty"` // Uid // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -322,13 +322,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `value` 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.By default the values are formatted using generic number format. - Valuehoverformat types.String `json:"valuehoverformat,omitempty"` + Valuehoverformat types.StringType `json:"valuehoverformat,omitempty"` // Valuesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `value`. - Valuesrc types.String `json:"valuesrc,omitempty"` + Valuesrc types.StringType `json:"valuesrc,omitempty"` // Visible // arrayOK: false @@ -349,13 +349,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -369,13 +369,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Ysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Z // arrayOK: false @@ -389,13 +389,13 @@ type Volume struct { // arrayOK: false // type: string // Sets the hover text formatting rulefor `z` 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*By default the values are formatted using `zaxis.hoverformat`. - Zhoverformat types.String `json:"zhoverformat,omitempty"` + Zhoverformat types.StringType `json:"zhoverformat,omitempty"` // Zsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `z`. - Zsrc types.String `json:"zsrc,omitempty"` + Zsrc types.StringType `json:"zsrc,omitempty"` } // VolumeCapsX @@ -405,13 +405,13 @@ type VolumeCapsX struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the x `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsY @@ -421,13 +421,13 @@ type VolumeCapsY struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the y `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCapsZ @@ -437,13 +437,13 @@ type VolumeCapsZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `caps`. The default fill value of the `caps` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Sets the fill ratio of the `slices`. The default fill value of the z `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeCaps @@ -478,7 +478,7 @@ type VolumeColorbarTickfont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -491,13 +491,13 @@ type VolumeColorbarTickfont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -524,7 +524,7 @@ type VolumeColorbarTickfont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // VolumeColorbarTickformatstop @@ -540,25 +540,25 @@ type VolumeColorbarTickformatstop struct { // arrayOK: false // type: boolean // Determines whether or not this stop is used. If `false`, this stop is ignored even within its `dtickrange`. - Enabled types.Bool `json:"enabled,omitempty"` + 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. - Name types.String `json:"name,omitempty"` + 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`. - Templateitemname types.String `json:"templateitemname,omitempty"` + Templateitemname types.StringType `json:"templateitemname,omitempty"` // Value // arrayOK: false // type: string // string - dtickformat for described zoom level, the same as *tickformat* - Value types.String `json:"value,omitempty"` + Value types.StringType `json:"value,omitempty"` } // VolumeColorbarTitleFont Sets this color bar's title font. Note that the title's font used to be set by the now deprecated `titlefont` attribute. @@ -574,7 +574,7 @@ type VolumeColorbarTitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -587,13 +587,13 @@ type VolumeColorbarTitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -620,7 +620,7 @@ type VolumeColorbarTitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // VolumeColorbarTitle @@ -642,7 +642,7 @@ type VolumeColorbarTitle struct { // 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. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeColorbar @@ -664,7 +664,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) or the border enclosing this color bar. - Borderwidth float64 `json:"borderwidth,omitempty"` + Borderwidth types.NumberType `json:"borderwidth,omitempty"` // Dtick // arrayOK: false @@ -689,7 +689,7 @@ type VolumeColorbar struct { // 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. - Len float64 `json:"len,omitempty"` + Len types.NumberType `json:"len,omitempty"` // Lenmode // arrayOK: false @@ -702,13 +702,13 @@ type VolumeColorbar struct { // 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*. - Minexponent float64 `json:"minexponent,omitempty"` + 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*. - Nticks int64 `json:"nticks,omitempty"` + Nticks types.IntegerType `json:"nticks,omitempty"` // Orientation // arrayOK: false @@ -727,13 +727,13 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the width (in px) of the axis line. - Outlinewidth float64 `json:"outlinewidth,omitempty"` + Outlinewidth types.NumberType `json:"outlinewidth,omitempty"` // Separatethousands // arrayOK: false // type: boolean // If "true", even 4-digit integers are separated - Separatethousands types.Bool `json:"separatethousands,omitempty"` + Separatethousands types.BoolType `json:"separatethousands,omitempty"` // Showexponent // arrayOK: false @@ -746,7 +746,7 @@ type VolumeColorbar struct { // arrayOK: false // type: boolean // Determines whether or not the tick labels are drawn. - Showticklabels types.Bool `json:"showticklabels,omitempty"` + Showticklabels types.BoolType `json:"showticklabels,omitempty"` // Showtickprefix // arrayOK: false @@ -766,7 +766,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the thickness of the color bar This measure excludes the size of the padding, ticks and labels. - Thickness float64 `json:"thickness,omitempty"` + Thickness types.NumberType `json:"thickness,omitempty"` // Thicknessmode // arrayOK: false @@ -785,7 +785,7 @@ type VolumeColorbar struct { // 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. - Tickangle float64 `json:"tickangle,omitempty"` + Tickangle types.NumberType `json:"tickangle,omitempty"` // Tickcolor // arrayOK: false @@ -802,7 +802,7 @@ type VolumeColorbar struct { // 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* - Tickformat types.String `json:"tickformat,omitempty"` + Tickformat types.StringType `json:"tickformat,omitempty"` // Tickformatstops // role: Object @@ -827,13 +827,13 @@ type VolumeColorbar struct { // 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*. - Ticklabelstep int64 `json:"ticklabelstep,omitempty"` + Ticklabelstep types.IntegerType `json:"ticklabelstep,omitempty"` // Ticklen // arrayOK: false // type: number // Sets the tick length (in px). - Ticklen float64 `json:"ticklen,omitempty"` + Ticklen types.NumberType `json:"ticklen,omitempty"` // Tickmode // arrayOK: false @@ -846,7 +846,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label prefix. - Tickprefix types.String `json:"tickprefix,omitempty"` + Tickprefix types.StringType `json:"tickprefix,omitempty"` // Ticks // arrayOK: false @@ -859,7 +859,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets a tick label suffix. - Ticksuffix types.String `json:"ticksuffix,omitempty"` + Ticksuffix types.StringType `json:"ticksuffix,omitempty"` // Ticktext // arrayOK: false @@ -873,7 +873,7 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ticktext`. - Ticktextsrc types.String `json:"ticktextsrc,omitempty"` + Ticktextsrc types.StringType `json:"ticktextsrc,omitempty"` // Tickvals // arrayOK: false @@ -887,13 +887,13 @@ type VolumeColorbar struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `tickvals`. - Tickvalssrc types.String `json:"tickvalssrc,omitempty"` + Tickvalssrc types.StringType `json:"tickvalssrc,omitempty"` // Tickwidth // arrayOK: false // type: number // Sets the tick width (in px). - Tickwidth float64 `json:"tickwidth,omitempty"` + Tickwidth types.NumberType `json:"tickwidth,omitempty"` // Title // arrayOK: false @@ -904,7 +904,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the x position with respect to `xref` of the color bar (in plot fraction). When `xref` is *paper*, defaults to 1.02 when `orientation` is *v* and 0.5 when `orientation` is *h*. When `xref` is *container*, defaults to *1* when `orientation` is *v* and 0.5 when `orientation` is *h*. Must be between *0* and *1* if `xref` is *container* and between *-2* and *3* if `xref` is *paper*. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Xanchor // arrayOK: false @@ -917,7 +917,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the x direction. - Xpad float64 `json:"xpad,omitempty"` + Xpad types.NumberType `json:"xpad,omitempty"` // Xref // arrayOK: false @@ -930,7 +930,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the y position with respect to `yref` of the color bar (in plot fraction). When `yref` is *paper*, defaults to 0.5 when `orientation` is *v* and 1.02 when `orientation` is *h*. When `yref` is *container*, defaults to 0.5 when `orientation` is *v* and 1 when `orientation` is *h*. Must be between *0* and *1* if `yref` is *container* and between *-2* and *3* if `yref` is *paper*. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Yanchor // arrayOK: false @@ -943,7 +943,7 @@ type VolumeColorbar struct { // arrayOK: false // type: number // Sets the amount of padding (in px) along the y direction. - Ypad float64 `json:"ypad,omitempty"` + Ypad types.NumberType `json:"ypad,omitempty"` // Yref // arrayOK: false @@ -966,13 +966,13 @@ type VolumeContour struct { // arrayOK: false // type: boolean // Sets whether or not dynamic contours are shown on hover - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` // Width // arrayOK: false // type: number // Sets the width of the contour lines. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // VolumeHoverlabelFont Sets the font used in hover labels. @@ -988,19 +988,19 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1013,31 +1013,31 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1050,7 +1050,7 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1063,7 +1063,7 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1076,19 +1076,19 @@ type VolumeHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // VolumeHoverlabel @@ -1105,7 +1105,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -1117,7 +1117,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -1129,7 +1129,7 @@ type VolumeHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -1140,13 +1140,13 @@ type VolumeHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // VolumeLegendgrouptitleFont Sets this legend group's title font. @@ -1162,7 +1162,7 @@ type VolumeLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -1175,13 +1175,13 @@ type VolumeLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -1208,7 +1208,7 @@ type VolumeLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // VolumeLegendgrouptitle @@ -1223,7 +1223,7 @@ type VolumeLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // VolumeLighting @@ -1233,43 +1233,43 @@ type VolumeLighting struct { // arrayOK: false // type: number // Ambient light increases overall color visibility but can wash out the image. - Ambient float64 `json:"ambient,omitempty"` + Ambient types.NumberType `json:"ambient,omitempty"` // Diffuse // arrayOK: false // type: number // Represents the extent that incident rays are reflected in a range of angles. - Diffuse float64 `json:"diffuse,omitempty"` + Diffuse types.NumberType `json:"diffuse,omitempty"` // Facenormalsepsilon // arrayOK: false // type: number // Epsilon for face normals calculation avoids math issues arising from degenerate geometry. - Facenormalsepsilon float64 `json:"facenormalsepsilon,omitempty"` + Facenormalsepsilon types.NumberType `json:"facenormalsepsilon,omitempty"` // Fresnel // arrayOK: false // type: number // Represents the reflectance as a dependency of the viewing angle; e.g. paper is reflective when viewing it from the edge of the paper (almost 90 degrees), causing shine. - Fresnel float64 `json:"fresnel,omitempty"` + Fresnel types.NumberType `json:"fresnel,omitempty"` // Roughness // arrayOK: false // type: number // Alters specular reflection; the rougher the surface, the wider and less contrasty the shine. - Roughness float64 `json:"roughness,omitempty"` + Roughness types.NumberType `json:"roughness,omitempty"` // Specular // arrayOK: false // type: number // Represents the level that incident rays are reflected in a single direction, causing shine. - Specular float64 `json:"specular,omitempty"` + Specular types.NumberType `json:"specular,omitempty"` // Vertexnormalsepsilon // arrayOK: false // type: number // Epsilon for vertex normals calculation avoids math issues arising from degenerate geometry. - Vertexnormalsepsilon float64 `json:"vertexnormalsepsilon,omitempty"` + Vertexnormalsepsilon types.NumberType `json:"vertexnormalsepsilon,omitempty"` } // VolumeLightposition @@ -1279,19 +1279,19 @@ type VolumeLightposition struct { // arrayOK: false // type: number // Numeric vector, representing the X coordinate for each vertex. - X float64 `json:"x,omitempty"` + X types.NumberType `json:"x,omitempty"` // Y // arrayOK: false // type: number // Numeric vector, representing the Y coordinate for each vertex. - Y float64 `json:"y,omitempty"` + Y types.NumberType `json:"y,omitempty"` // Z // arrayOK: false // type: number // Numeric vector, representing the Z coordinate for each vertex. - Z float64 `json:"z,omitempty"` + Z types.NumberType `json:"z,omitempty"` } // VolumeSlicesX @@ -1301,7 +1301,7 @@ type VolumeSlicesX struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1315,13 +1315,13 @@ type VolumeSlicesX struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the x dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesY @@ -1331,7 +1331,7 @@ type VolumeSlicesY struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1345,13 +1345,13 @@ type VolumeSlicesY struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the y dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlicesZ @@ -1361,7 +1361,7 @@ type VolumeSlicesZ struct { // arrayOK: false // type: number // Sets the fill ratio of the `slices`. The default fill value of the `slices` is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Locations // arrayOK: false @@ -1375,13 +1375,13 @@ type VolumeSlicesZ struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `locations`. - Locationssrc types.String `json:"locationssrc,omitempty"` + Locationssrc types.StringType `json:"locationssrc,omitempty"` // Show // arrayOK: false // type: boolean // Determines whether or not slice planes about the z dimension are drawn. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeSlices @@ -1410,13 +1410,13 @@ type VolumeSpaceframe struct { // arrayOK: false // type: number // Sets the fill ratio of the `spaceframe` elements. The default fill value is 1 meaning that they are entirely shaded. Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Show // arrayOK: false // type: boolean // Displays/hides tetrahedron shapes between minimum and maximum iso-values. Often useful when either caps or surfaces are disabled or filled with values less than 1. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeStream @@ -1426,13 +1426,13 @@ type VolumeStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // VolumeSurface @@ -1442,13 +1442,13 @@ type VolumeSurface struct { // arrayOK: false // type: integer // Sets the number of iso-surfaces between minimum and maximum iso-values. By default this value is 2 meaning that only minimum and maximum surfaces would be drawn. - Count int64 `json:"count,omitempty"` + Count types.IntegerType `json:"count,omitempty"` // Fill // arrayOK: false // type: number // Sets the fill ratio of the iso-surface. The default fill value of the surface is 1 meaning that they are entirely shaded. On the other hand Applying a `fill` ratio less than one would allow the creation of openings parallel to the edges. - Fill float64 `json:"fill,omitempty"` + Fill types.NumberType `json:"fill,omitempty"` // Pattern // arrayOK: false @@ -1461,7 +1461,7 @@ type VolumeSurface struct { // arrayOK: false // type: boolean // Hides/displays surfaces between minimum and maximum iso-values. - Show types.Bool `json:"show,omitempty"` + Show types.BoolType `json:"show,omitempty"` } // VolumeColorbarExponentformat 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. diff --git a/generated/v2.34.0/graph_objects/waterfall_gen.go b/generated/v2.34.0/graph_objects/waterfall_gen.go index 3a6251d..9869a79 100644 --- a/generated/v2.34.0/graph_objects/waterfall_gen.go +++ b/generated/v2.34.0/graph_objects/waterfall_gen.go @@ -32,19 +32,19 @@ type Waterfall struct { // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same alignmentgroup. This controls whether bars compute their positional range dependently or independently. - Alignmentgroup types.String `json:"alignmentgroup,omitempty"` + Alignmentgroup types.StringType `json:"alignmentgroup,omitempty"` // Base // arrayOK: false // type: number // Sets where the bar base is drawn (in position axis units). - Base float64 `json:"base,omitempty"` + Base types.NumberType `json:"base,omitempty"` // Cliponaxis // arrayOK: false // type: boolean // Determines whether the text nodes are clipped about the subplot axes. To show the text nodes above axis lines and tick labels, make sure to set `xaxis.layer` and `yaxis.layer` to *below traces*. - Cliponaxis types.Bool `json:"cliponaxis,omitempty"` + Cliponaxis types.BoolType `json:"cliponaxis,omitempty"` // Connector // arrayOK: false @@ -70,7 +70,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `customdata`. - Customdatasrc types.String `json:"customdatasrc,omitempty"` + Customdatasrc types.StringType `json:"customdatasrc,omitempty"` // Decreasing // arrayOK: false @@ -81,13 +81,13 @@ type Waterfall struct { // arrayOK: false // type: number // Sets the x coordinate step. See `x0` for more info. - Dx float64 `json:"dx,omitempty"` + Dx types.NumberType `json:"dx,omitempty"` // Dy // arrayOK: false // type: number // Sets the y coordinate step. See `y0` for more info. - Dy float64 `json:"dy,omitempty"` + Dy types.NumberType `json:"dy,omitempty"` // Hoverinfo // arrayOK: true @@ -100,7 +100,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hoverinfo`. - Hoverinfosrc types.String `json:"hoverinfosrc,omitempty"` + Hoverinfosrc types.StringType `json:"hoverinfosrc,omitempty"` // Hoverlabel // arrayOK: false @@ -111,25 +111,25 @@ type Waterfall struct { // 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. Finally, the template string has access to variables `initial`, `delta` and `final`. Anything contained in tag `` is displayed in the secondary box, for example "{fullData.name}". To hide the secondary box completely, use an empty tag ``. - Hovertemplate *types.ArrayOK[*types.String] `json:"hovertemplate,omitempty"` + Hovertemplate *types.ArrayOK[*types.StringType] `json:"hovertemplate,omitempty"` // Hovertemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertemplate`. - Hovertemplatesrc types.String `json:"hovertemplatesrc,omitempty"` + Hovertemplatesrc types.StringType `json:"hovertemplatesrc,omitempty"` // Hovertext // arrayOK: true // type: string // Sets hover text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. To be seen, trace `hoverinfo` must contain a *text* flag. - Hovertext *types.ArrayOK[*types.String] `json:"hovertext,omitempty"` + Hovertext *types.ArrayOK[*types.StringType] `json:"hovertext,omitempty"` // Hovertextsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `hovertext`. - Hovertextsrc types.String `json:"hovertextsrc,omitempty"` + Hovertextsrc types.StringType `json:"hovertextsrc,omitempty"` // Ids // arrayOK: false @@ -143,7 +143,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `ids`. - Idssrc types.String `json:"idssrc,omitempty"` + Idssrc types.StringType `json:"idssrc,omitempty"` // Increasing // arrayOK: false @@ -166,13 +166,13 @@ type Waterfall struct { // arrayOK: false // type: subplotid // Sets the reference to a legend to show this trace in. References to these legends are *legend*, *legend2*, *legend3*, etc. Settings for these legends are set in the layout, under `layout.legend`, `layout.legend2`, etc. - Legend types.String `json:"legend,omitempty"` + Legend types.StringType `json:"legend,omitempty"` // Legendgroup // arrayOK: false // type: string // Sets the legend group for this trace. Traces and shapes part of the same legend group hide/show at the same time when toggling legend items. - Legendgroup types.String `json:"legendgroup,omitempty"` + Legendgroup types.StringType `json:"legendgroup,omitempty"` // Legendgrouptitle // arrayOK: false @@ -183,13 +183,13 @@ type Waterfall struct { // 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. When having unranked or equal rank items shapes would be displayed after traces i.e. according to their order in data and layout. - Legendrank float64 `json:"legendrank,omitempty"` + Legendrank types.NumberType `json:"legendrank,omitempty"` // Legendwidth // arrayOK: false // type: number // Sets the width (in px or fraction) of the legend for this trace. - Legendwidth float64 `json:"legendwidth,omitempty"` + Legendwidth types.NumberType `json:"legendwidth,omitempty"` // Measure // arrayOK: false @@ -203,7 +203,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `measure`. - Measuresrc types.String `json:"measuresrc,omitempty"` + Measuresrc types.StringType `json:"measuresrc,omitempty"` // Meta // arrayOK: true @@ -215,37 +215,37 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `meta`. - Metasrc types.String `json:"metasrc,omitempty"` + Metasrc types.StringType `json:"metasrc,omitempty"` // Name // arrayOK: false // type: string // Sets the trace name. The trace name appears as the legend item and on hover. - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Offset // arrayOK: true // type: number // Shifts the position where the bar is drawn (in position axis units). In *group* barmode, traces that set *offset* will be excluded and drawn in *overlay* mode instead. - Offset *types.ArrayOK[*float64] `json:"offset,omitempty"` + Offset *types.ArrayOK[*types.NumberType] `json:"offset,omitempty"` // Offsetgroup // arrayOK: false // type: string // Set several traces linked to the same position axis or matching axes to the same offsetgroup where bars of the same position coordinate will line up. - Offsetgroup types.String `json:"offsetgroup,omitempty"` + Offsetgroup types.StringType `json:"offsetgroup,omitempty"` // Offsetsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `offset`. - Offsetsrc types.String `json:"offsetsrc,omitempty"` + Offsetsrc types.StringType `json:"offsetsrc,omitempty"` // Opacity // arrayOK: false // type: number // Sets the opacity of the trace. - Opacity float64 `json:"opacity,omitempty"` + Opacity types.NumberType `json:"opacity,omitempty"` // Orientation // arrayOK: false @@ -269,7 +269,7 @@ type Waterfall struct { // arrayOK: false // type: boolean // Determines whether or not an item corresponding to this trace is shown in the legend. - Showlegend types.Bool `json:"showlegend,omitempty"` + Showlegend types.BoolType `json:"showlegend,omitempty"` // Stream // arrayOK: false @@ -280,13 +280,13 @@ type Waterfall struct { // arrayOK: true // type: string // Sets text elements associated with each (x,y) pair. If a single string, the same string appears over all the data points. If an array of string, the items are mapped in order to the this trace's (x,y) coordinates. If trace `hoverinfo` contains a *text* flag and *hovertext* is not set, these elements will be seen in the hover labels. - Text *types.ArrayOK[*types.String] `json:"text,omitempty"` + Text *types.ArrayOK[*types.StringType] `json:"text,omitempty"` // Textangle // arrayOK: false // type: angle // Sets the angle of the tick labels with respect to the bar. For example, a `tickangle` of -90 draws the tick labels vertically. With *auto* the texts may automatically be rotated to fit with the maximum size in bars. - Textangle float64 `json:"textangle,omitempty"` + Textangle types.NumberType `json:"textangle,omitempty"` // Textfont // arrayOK: false @@ -311,25 +311,25 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textposition`. - Textpositionsrc types.String `json:"textpositionsrc,omitempty"` + Textpositionsrc types.StringType `json:"textpositionsrc,omitempty"` // Textsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `text`. - Textsrc types.String `json:"textsrc,omitempty"` + 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. Finally, the template string has access to variables `initial`, `delta`, `final` and `label`. - Texttemplate *types.ArrayOK[*types.String] `json:"texttemplate,omitempty"` + Texttemplate *types.ArrayOK[*types.StringType] `json:"texttemplate,omitempty"` // Texttemplatesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `texttemplate`. - Texttemplatesrc types.String `json:"texttemplatesrc,omitempty"` + Texttemplatesrc types.StringType `json:"texttemplatesrc,omitempty"` // Totals // arrayOK: false @@ -345,7 +345,7 @@ type Waterfall struct { // arrayOK: false // type: string // Assign an id to this trace, Use this to provide object constancy between traces during animations and transitions. - Uid types.String `json:"uid,omitempty"` + Uid types.StringType `json:"uid,omitempty"` // Uirevision // arrayOK: false @@ -364,13 +364,13 @@ type Waterfall struct { // arrayOK: true // type: number // Sets the bar width (in position axis units). - Width *types.ArrayOK[*float64] `json:"width,omitempty"` + Width *types.ArrayOK[*types.NumberType] `json:"width,omitempty"` // Widthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `width`. - Widthsrc types.String `json:"widthsrc,omitempty"` + Widthsrc types.StringType `json:"widthsrc,omitempty"` // X // arrayOK: false @@ -390,13 +390,13 @@ type Waterfall struct { // 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. - Xaxis types.String `json:"xaxis,omitempty"` + Xaxis types.StringType `json:"xaxis,omitempty"` // Xhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `x` 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*By default the values are formatted using `xaxis.hoverformat`. - Xhoverformat types.String `json:"xhoverformat,omitempty"` + Xhoverformat types.StringType `json:"xhoverformat,omitempty"` // Xperiod // arrayOK: false @@ -421,7 +421,7 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `x`. - Xsrc types.String `json:"xsrc,omitempty"` + Xsrc types.StringType `json:"xsrc,omitempty"` // Y // arrayOK: false @@ -441,13 +441,13 @@ type Waterfall struct { // 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. - Yaxis types.String `json:"yaxis,omitempty"` + Yaxis types.StringType `json:"yaxis,omitempty"` // Yhoverformat // arrayOK: false // type: string // Sets the hover text formatting rulefor `y` 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*By default the values are formatted using `yaxis.hoverformat`. - Yhoverformat types.String `json:"yhoverformat,omitempty"` + Yhoverformat types.StringType `json:"yhoverformat,omitempty"` // Yperiod // arrayOK: false @@ -472,13 +472,13 @@ type Waterfall struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `y`. - Ysrc types.String `json:"ysrc,omitempty"` + Ysrc types.StringType `json:"ysrc,omitempty"` // Zorder // arrayOK: false // type: integer // Sets the layer on which this trace is displayed, relative to other SVG traces on the same subplot. SVG traces with higher `zorder` appear in front of those with lower `zorder`. - Zorder int64 `json:"zorder,omitempty"` + Zorder types.IntegerType `json:"zorder,omitempty"` } // WaterfallConnectorLine @@ -494,13 +494,13 @@ type WaterfallConnectorLine struct { // 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*). - Dash types.String `json:"dash,omitempty"` + Dash types.StringType `json:"dash,omitempty"` // Width // arrayOK: false // type: number // Sets the line width (in px). - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallConnector @@ -522,7 +522,7 @@ type WaterfallConnector struct { // arrayOK: false // type: boolean // Determines if connector lines are drawn. - Visible types.Bool `json:"visible,omitempty"` + Visible types.BoolType `json:"visible,omitempty"` } // WaterfallDecreasingMarkerLine @@ -538,7 +538,7 @@ type WaterfallDecreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all decreasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallDecreasingMarker @@ -578,19 +578,19 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -603,31 +603,31 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -640,7 +640,7 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -653,7 +653,7 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -666,19 +666,19 @@ type WaterfallHoverlabelFont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // WaterfallHoverlabel @@ -695,7 +695,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `align`. - Alignsrc types.String `json:"alignsrc,omitempty"` + Alignsrc types.StringType `json:"alignsrc,omitempty"` // Bgcolor // arrayOK: true @@ -707,7 +707,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bgcolor`. - Bgcolorsrc types.String `json:"bgcolorsrc,omitempty"` + Bgcolorsrc types.StringType `json:"bgcolorsrc,omitempty"` // Bordercolor // arrayOK: true @@ -719,7 +719,7 @@ type WaterfallHoverlabel struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `bordercolor`. - Bordercolorsrc types.String `json:"bordercolorsrc,omitempty"` + Bordercolorsrc types.StringType `json:"bordercolorsrc,omitempty"` // Font // arrayOK: false @@ -730,13 +730,13 @@ type WaterfallHoverlabel struct { // 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. - Namelength *types.ArrayOK[*int64] `json:"namelength,omitempty"` + Namelength *types.ArrayOK[*types.IntegerType] `json:"namelength,omitempty"` // Namelengthsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `namelength`. - Namelengthsrc types.String `json:"namelengthsrc,omitempty"` + Namelengthsrc types.StringType `json:"namelengthsrc,omitempty"` } // WaterfallIncreasingMarkerLine @@ -752,7 +752,7 @@ type WaterfallIncreasingMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all increasing values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallIncreasingMarker @@ -792,19 +792,19 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -817,31 +817,31 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -854,7 +854,7 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -867,7 +867,7 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -880,19 +880,19 @@ type WaterfallInsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // WaterfallLegendgrouptitleFont Sets this legend group's title font. @@ -908,7 +908,7 @@ type WaterfallLegendgrouptitleFont struct { // 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*. - Family types.String `json:"family,omitempty"` + Family types.StringType `json:"family,omitempty"` // Lineposition // arrayOK: false @@ -921,13 +921,13 @@ type WaterfallLegendgrouptitleFont struct { // arrayOK: false // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow types.String `json:"shadow,omitempty"` + Shadow types.StringType `json:"shadow,omitempty"` // Size // arrayOK: false // type: number // - Size float64 `json:"size,omitempty"` + Size types.NumberType `json:"size,omitempty"` // Style // arrayOK: false @@ -954,7 +954,7 @@ type WaterfallLegendgrouptitleFont struct { // arrayOK: false // type: integer // Sets the weight (or boldness) of the font. - Weight int64 `json:"weight,omitempty"` + Weight types.IntegerType `json:"weight,omitempty"` } // WaterfallLegendgrouptitle @@ -969,7 +969,7 @@ type WaterfallLegendgrouptitle struct { // arrayOK: false // type: string // Sets the title of the legend group. - Text types.String `json:"text,omitempty"` + Text types.StringType `json:"text,omitempty"` } // WaterfallOutsidetextfont Sets the font used for `text` lying outside the bar. @@ -985,19 +985,19 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1010,31 +1010,31 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1047,7 +1047,7 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1060,7 +1060,7 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1073,19 +1073,19 @@ type WaterfallOutsidetextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // WaterfallStream @@ -1095,13 +1095,13 @@ type WaterfallStream struct { // 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. - Maxpoints float64 `json:"maxpoints,omitempty"` + 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. - Token types.String `json:"token,omitempty"` + Token types.StringType `json:"token,omitempty"` } // WaterfallTextfont Sets the font used for `text`. @@ -1117,19 +1117,19 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `color`. - Colorsrc types.String `json:"colorsrc,omitempty"` + 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*. - Family *types.ArrayOK[*types.String] `json:"family,omitempty"` + Family *types.ArrayOK[*types.StringType] `json:"family,omitempty"` // Familysrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `family`. - Familysrc types.String `json:"familysrc,omitempty"` + Familysrc types.StringType `json:"familysrc,omitempty"` // Lineposition // arrayOK: true @@ -1142,31 +1142,31 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `lineposition`. - Linepositionsrc types.String `json:"linepositionsrc,omitempty"` + Linepositionsrc types.StringType `json:"linepositionsrc,omitempty"` // Shadow // arrayOK: true // type: string // Sets the shape and color of the shadow behind text. *auto* places minimal shadow and applies contrast text font color. See https://developer.mozilla.org/en-US/docs/Web/CSS/text-shadow for additional options. - Shadow *types.ArrayOK[*types.String] `json:"shadow,omitempty"` + Shadow *types.ArrayOK[*types.StringType] `json:"shadow,omitempty"` // Shadowsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `shadow`. - Shadowsrc types.String `json:"shadowsrc,omitempty"` + Shadowsrc types.StringType `json:"shadowsrc,omitempty"` // Size // arrayOK: true // type: number // - Size *types.ArrayOK[*float64] `json:"size,omitempty"` + Size *types.ArrayOK[*types.NumberType] `json:"size,omitempty"` // Sizesrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `size`. - Sizesrc types.String `json:"sizesrc,omitempty"` + Sizesrc types.StringType `json:"sizesrc,omitempty"` // Style // arrayOK: true @@ -1179,7 +1179,7 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `style`. - Stylesrc types.String `json:"stylesrc,omitempty"` + Stylesrc types.StringType `json:"stylesrc,omitempty"` // Textcase // arrayOK: true @@ -1192,7 +1192,7 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `textcase`. - Textcasesrc types.String `json:"textcasesrc,omitempty"` + Textcasesrc types.StringType `json:"textcasesrc,omitempty"` // Variant // arrayOK: true @@ -1205,19 +1205,19 @@ type WaterfallTextfont struct { // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `variant`. - Variantsrc types.String `json:"variantsrc,omitempty"` + Variantsrc types.StringType `json:"variantsrc,omitempty"` // Weight // arrayOK: true // type: integer // Sets the weight (or boldness) of the font. - Weight *types.ArrayOK[*int64] `json:"weight,omitempty"` + Weight *types.ArrayOK[*types.IntegerType] `json:"weight,omitempty"` // Weightsrc // arrayOK: false // type: string // Sets the source reference on Chart Studio Cloud for `weight`. - Weightsrc types.String `json:"weightsrc,omitempty"` + Weightsrc types.StringType `json:"weightsrc,omitempty"` } // WaterfallTotalsMarkerLine @@ -1233,7 +1233,7 @@ type WaterfallTotalsMarkerLine struct { // arrayOK: false // type: number // Sets the line width of all intermediate sums and total values. - Width float64 `json:"width,omitempty"` + Width types.NumberType `json:"width,omitempty"` } // WaterfallTotalsMarker diff --git a/generator/renderer.go b/generator/renderer.go index e7e87b5..3b06642 100644 --- a/generator/renderer.go +++ b/generator/renderer.go @@ -615,15 +615,15 @@ func (r *Renderer) WriteUnmarshalTests(w io.Writer) error { var valTypeMap = map[ValType]string{ ValTypeDataArray: "*types.DataArrayType", ValTypeEnum: "NO-TYPE", - ValTypeBoolean: "types.Bool", - ValTypeNumber: "float64", - ValTypeInteger: "int64", - ValTypeString: "types.String", + ValTypeBoolean: "types.BoolType", + ValTypeNumber: "types.NumberType", + ValTypeInteger: "types.IntegerType", + ValTypeString: "types.StringType", ValTypeColor: "types.Color", ValTypeColorlist: "*types.ColorList", ValTypeColorscale: "*types.ColorScale", - ValTypeAngle: "float64", - ValTypeSubplotID: "types.String", + ValTypeAngle: "types.NumberType", + ValTypeSubplotID: "types.StringType", ValTypeFlagList: "NO-TYPE", ValTypeAny: "interface{}", ValTypeInfoArray: "interface{}", diff --git a/generator/templates/frames.go b/generator/templates/frames.go index 74aaf64..ad8b264 100644 --- a/generator/templates/frames.go +++ b/generator/templates/frames.go @@ -11,7 +11,7 @@ type Frame struct { // Baseframe // The name of the frame into which this frame's properties are merged before applying. This is used to unify properties and avoid needing to specify the same values for the same properties in multiple frames. - Baseframe types.String `json:"baseframe,omitempty"` + Baseframe types.StringType `json:"baseframe,omitempty"` // Data // A list of traces this frame modifies. The format is identical to the normal trace definition. @@ -19,15 +19,15 @@ type Frame struct { // Group // An identifier that specifies the group to which the frame belongs, used by animate to select a subset of frames. - Group types.String `json:"group,omitempty"` + Group types.StringType `json:"group,omitempty"` // Layout // Layout properties which this frame modifies. The format is identical to the normal layout definition. - Layout Layout `json:"layout,omitempty"` + Layout *Layout `json:"layout,omitempty"` // Name // A label by which to identify the frame - Name types.String `json:"name,omitempty"` + Name types.StringType `json:"name,omitempty"` // Traces // A list of trace indices that identify the respective traces in the data attribute diff --git a/pkg/types/basic.go b/pkg/types/basic.go index 66d394c..b839aff 100644 --- a/pkg/types/basic.go +++ b/pkg/types/basic.go @@ -1,18 +1,66 @@ package types -// Bool represents a *bool value. Needed to tell the different between false and nil. -type Bool *bool +import ( + "strconv" +) + +// BoolType represents a *bool value. Needed to tell the different between false and nil. +type BoolType *bool + +func B(v bool) BoolType { + return BoolType(&v) +} var ( trueValue bool = true falseValue bool = false // True is a *bool with true value - True Bool = &trueValue + True BoolType = &trueValue // False is a *bool with false value - False Bool = &falseValue + False BoolType = &falseValue ) -// String is a string value, can be a []string if arrayOK is true. -// numeric values are converted to string by plotly, so [] can work -type String interface{} +// StringType as defined by plotly schema +// This is not *string because I do not see any case where an empty string is a desired input for plotly and having this as string makes it much easier to work with the package. +type StringType string + +// S converts a string to a StringType +// It is not needed, but if you use this method, it will make it easier to migrate to different implementations of String type in case we actually need *string instead of string +func S(v string) StringType { + return StringType(v) +} + +// NumberType as defined by plotly schema +type NumberType *float64 + +func N(n float64) NumberType { + return NumberType(&n) +} + +// NS Given a string, parses it as a float64 number +// Panics if the string is not a float number +func NS(n string) NumberType { + v, err := strconv.ParseFloat(n, 64) + if err != nil { + panic(err) + } + return NumberType(&v) +} + +// IntegerType as defined by plotly schema +type IntegerType *int + +func I(n int) IntegerType { + return IntegerType(&n) +} + +// IS Given a string, parses it as an integer number +// Panics if the string is not an integer number +func IS(n string) IntegerType { + v, err := strconv.Atoi(n) + if err != nil { + panic(err) + } + return IntegerType(&v) +}